/* SocialEase site — shared styles */

:root {
  --ink: #1d2433;
  --soft: #5c6675;
  --paper: #f7f9fc;
  --bubble: #ffffff;
  --accentBlue: #0264fe;
  --accentGreen: #099d42;
  --accentBlue-soft: #e3edff;
  --border: #e5e9f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

a { color: var(--accentBlue); }

img { max-width: 100%; display: block; }

.brand-blue { color: var(--accentBlue); }
.brand-green { color: var(--accentGreen); }

/* Header / nav */
.site-header {
  background: var(--bubble);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.site-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  background: var(--accentBlue-soft);
  color: var(--accentBlue);
}

.site-nav a[aria-current="page"] {
  background: var(--accentBlue-soft);
  color: var(--accentBlue);
}

/* Main content */
main { flex: 1; }

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.container-wide {
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}

h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 36px 0 8px;
  color: var(--ink);
}

h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--soft);
}

.lede {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--soft);
  max-width: 640px;
}

ul { padding-left: 1.5rem; margin: 8px 0; }
li { margin-bottom: 4px; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0 0;
}

.meta {
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 40px;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accentBlue);
  color: #fff;
}
.btn-primary:hover { background: #2f63d6; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--accentBlue); color: var(--accentBlue); }

.btn:focus-visible {
  outline: 3px solid var(--accentBlue);
  outline-offset: 3px;
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Hero */
.hero {
  text-align: center;
  padding: 64px 24px 40px;
  background-image:
    radial-gradient(circle at 15% 20%, var(--accentBlue-soft) 0%, transparent 35%),
    radial-gradient(circle at 85% 80%, var(--accentBlue-soft) 0%, transparent 35%);
}

.hero .btn-row { justify-content: center; }

.bubble {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bubble);
  border-radius: 24px;
  padding: 18px 26px;
  box-shadow: 0 6px 24px rgba(29, 36, 51, 0.10);
  position: relative;
  margin-bottom: 32px;
}

.bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 28px;
  width: 18px;
  height: 18px;
  background: var(--bubble);
  border-radius: 0 0 4px 0;
  transform: rotate(45deg);
  box-shadow: 6px 6px 12px rgba(29, 36, 51, 0.04);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accentBlue);
  animation: blink 1.4s infinite both;
}
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; opacity: 1; }
}

/* Cards / grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.card {
  background: var(--bubble);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.card .emoji {
  font-size: 1.75rem;
  margin-bottom: 10px;
  display: block;
}

.card p { margin: 0; font-size: 0.95rem; }

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 4px 0 20px 44px;
  color: var(--ink);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accentBlue-soft);
  color: var(--accentBlue);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.steps strong { color: var(--ink); }

/* Contact */
.contact-card {
  background: var(--bubble);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-top: 24px;
}

.contact-card h3 { margin-bottom: 8px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
}

.site-footer p {
  font-size: 0.875rem;
  color: #888;
}

.site-footer a { color: var(--soft); }
