/* Witti — shared site styles */

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #201A33;
  --ink-soft: #56506B;
  --muted: #8A8499;
  --bg: #FBFAFC;
  --card: #ffffff;
  --border: #ECE9F2;
  --grad-a: #6C5CE7;
  --grad-b: #FF5FA2;
  --footer-bg: #14101F;
  --footer-ink: #C9C4D6;
  --footer-muted: #6F6A82;
  --max-w: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 252, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-lockup .mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}
.logo-lockup .word {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.2px;
  color: var(--ink);
}
nav.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
}
nav.site-nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(108, 92, 231, 0.36); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: #D8D3E5; }

/* ---- Hero ---- */
section.hero {
  padding: 96px 0 80px;
  text-align: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #F1EEFB;
  color: #5B3FD9;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 28px;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
}
h1.display {
  font-size: 56px;
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 22px;
  letter-spacing: -1px;
}
h1.display .grad {
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
p.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Features ---- */
section.features { padding: 20px 0 90px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12.5px;
  font-weight: 700;
  color: #A78BFA;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: 34px;
  margin: 0;
  letter-spacing: -0.5px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
}
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  background: linear-gradient(135deg, rgba(108,92,231,0.12), rgba(255,95,162,0.12));
}
.card h3 {
  font-size: 19px;
  margin: 0 0 10px;
}
.card p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---- About ---- */
section.about {
  padding: 70px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.about-inner h2 {
  font-size: 28px;
  margin: 0 0 18px;
  letter-spacing: -0.4px;
}
.about-inner p {
  color: var(--ink-soft);
  font-size: 16.5px;
  margin: 0;
}

/* ---- Contact ---- */
section.contact {
  padding: 90px 0;
  text-align: center;
}
section.contact h2 {
  font-size: 32px;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}
section.contact p {
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 480px;
  margin: 0 auto 30px;
}

.contact-form {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}
.contact-form .form-row {
  display: flex;
  gap: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  resize: vertical;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #B7A6F5;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12);
}
.contact-form button {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.form-note {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-top: 18px !important;
}
.form-note a { color: #6C5CE7; font-weight: 600; text-decoration: none; }
.form-note a:hover { text-decoration: underline; }
.form-status {
  text-align: center;
  font-size: 14px;
  margin-top: 14px;
  min-height: 20px;
}
.form-status.success { color: #1E9E6B; }
.form-status.error { color: #D14343; }

@media (max-width: 560px) {
  .contact-form .form-row { flex-direction: column; gap: 0; }
}

/* ---- Footer ---- */
footer.site {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 56px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-top .logo-lockup .word { color: #fff; }
.footer-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  color: var(--footer-ink);
  font-size: 14.5px;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.copyright {
  font-size: 13px;
  color: var(--footer-muted);
}
.splash-credit {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--footer-muted);
}
.splash-credit .drop {
  width: 13px;
  height: 15px;
  flex-shrink: 0;
}
.splash-credit .brand {
  color: #A9AEBC;
  font-weight: 600;
}
.splash-credit .llc {
  font-size: 10.5px;
  color: var(--footer-muted);
  letter-spacing: 0.4px;
}

/* ---- Legal pages ---- */
main.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}
main.legal h1 {
  font-size: 38px;
  letter-spacing: -0.6px;
  margin-bottom: 6px;
}
main.legal .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 44px;
}
main.legal h2 {
  font-size: 21px;
  margin-top: 40px;
  margin-bottom: 12px;
}
main.legal p, main.legal li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}
main.legal ul { padding-left: 22px; }
main.legal a { color: #6C5CE7; font-weight: 600; text-decoration: none; }
main.legal a:hover { text-decoration: underline; }
main.legal h3 {
  font-size: 16.5px;
  margin-top: 22px;
  margin-bottom: 8px;
  color: var(--ink);
}
main.legal .note {
  background: #F7F3FF;
  border: 1px solid #E7DCFB;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 14.5px;
  color: #5B3FD9;
  line-height: 1.6;
  margin-bottom: 40px;
}
main.legal .note strong { color: #4A2FC0; }
main.legal .toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 40px;
}
main.legal .toc div.toc-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
main.legal .toc ol {
  columns: 2;
  padding-left: 18px;
  margin: 0;
}
main.legal .toc li {
  font-size: 14.5px;
  margin-bottom: 7px;
  break-inside: avoid;
}
main.legal .toc a { color: var(--ink-soft); font-weight: 500; }
main.legal .toc a:hover { color: #6C5CE7; }
@media (max-width: 760px) {
  main.legal .toc ol { columns: 1; }
}

/* ---- Responsive ---- */
@media (max-width: 760px) {
  nav.site-nav a.hide-mobile { display: none; }
  h1.display { font-size: 38px; }
  p.lede { font-size: 17px; }
  section.hero { padding: 56px 0 56px; }
  .grid-3 { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 27px; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  main.legal h1 { font-size: 29px; }
}
