/* replymaxx — shared site styles */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #FCFBF9;
  --ink: #1C1B1F;
  --ink-soft: #76717E;
  --violet: #7C3AED;
  --violet-edge: #5B21B6;
  --violet-soft: #F1EAFE;
  --blush: #FF4F8B;
  --hairline: #E9E6EF;
  --holo-1: #7DE2FC;
  --holo-2: #B9B6FF;
  --holo-3: #FF9DE2;
  --holo-4: #FFE29D;
  --holo-5: #A0FFD1;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.chunky {
  font-family: 'Baloo 2', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Nav */

.nav {
  padding: 24px 0;
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-mark {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  text-transform: lowercase;
}

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: #fff;
}

.nav-link:hover {
  background: var(--violet-soft);
  color: var(--violet-edge);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}

.hero-mesh {
  position: absolute;
  left: 0;
  right: 0;
  top: -10%;
  height: 85%;
  min-height: 360px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 50% at 12% 10%, var(--holo-1), transparent 65%),
    radial-gradient(ellipse 50% 45% at 90% 5%, var(--holo-3), transparent 65%),
    radial-gradient(ellipse 55% 50% at 50% 40%, var(--holo-2), transparent 70%),
    radial-gradient(ellipse 45% 40% at 80% 60%, var(--holo-4), transparent 65%),
    radial-gradient(ellipse 45% 40% at 15% 65%, var(--holo-5), transparent 65%);
  filter: blur(40px);
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 48px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 28px;
  text-transform: lowercase;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--holo-2), var(--holo-3));
}

h1 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 60px;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 24px;
  text-transform: lowercase;
}

h1 .accent {
  color: var(--violet);
}

.subline {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 36px;
}

.cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  text-decoration: none;
  background: var(--violet);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 16px 30px;
  box-shadow: 0 4px 0 var(--violet-edge);
  text-transform: lowercase;
  transition: transform 0.08s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--violet-edge);
}

.hero-note {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* Phone mock / screenshot strip */

.hero-visual {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-convo {
  margin: 0 auto;
  max-width: 560px;
  border: 3px solid var(--ink);
  border-radius: 28px;
  overflow: hidden;
  transform: rotate(-2deg);
  box-shadow: 8px 8px 0 rgba(28, 27, 31, 0.12);
  background: var(--bg);
}

.hero-convo img {
  display: block;
  width: 100%;
  height: auto;
}

.badge-store {
  display: inline-flex;
  align-items: center;
}

.badge-store img {
  height: 52px;
  display: block;
}

.sticker-card {
  width: 156px;
  height: 156px;
  border-radius: 28px;
  border: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  text-align: center;
  padding: 18px;
  transform: rotate(var(--rot, 0deg));
  box-shadow: 6px 6px 0 rgba(28, 27, 31, 0.12);
  text-transform: lowercase;
  line-height: 1.3;
}

.sticker-1 {
  --rot: -6deg;
  background: linear-gradient(155deg, var(--holo-1), var(--holo-2));
  margin-top: 18px;
}

.sticker-2 {
  --rot: 3deg;
  background: linear-gradient(155deg, var(--holo-3), var(--holo-4));
}

.sticker-3 {
  --rot: -3deg;
  background: linear-gradient(155deg, var(--holo-5), var(--holo-1));
  margin-top: 24px;
}

/* How it works */

.section {
  padding: 72px 0;
}

.section-title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 44px;
  text-align: center;
  text-transform: lowercase;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 5px 5px 0 rgba(28, 27, 31, 0.08);
}

.step-num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--violet);
  border: 2px solid var(--ink);
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body h3 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  margin: 4px 0 8px;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

.step-body p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-soft);
}

/* Bottom CTA band */

.cta-band {
  text-align: center;
  padding: 56px 0;
}

.cta-band-card {
  background: linear-gradient(135deg, var(--violet), var(--blush));
  border: 3px solid var(--ink);
  border-radius: 32px;
  padding: 56px 32px;
  box-shadow: 8px 8px 0 rgba(28, 27, 31, 0.12);
}

.cta-band h2 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: #fff;
  margin: 0 0 24px;
  text-transform: lowercase;
  letter-spacing: -0.02em;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--violet-edge);
  box-shadow: 0 4px 0 rgba(28, 27, 31, 0.35);
}

/* Generic page header (privacy/terms) */

.page-header {
  padding: 56px 0 8px;
  position: relative;
}

.page-header h1 {
  font-size: 40px;
  text-align: left;
}

.page-header .updated {
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: -12px;
  margin-bottom: 8px;
}

/* Content typography for legal pages */

.content {
  padding-bottom: 64px;
}

.content h2 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
  text-transform: lowercase;
}

.content h2:first-child {
  margin-top: 0;
}

.content p {
  margin: 0 0 16px;
  font-size: 16px;
}

.content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.content li {
  margin-bottom: 8px;
  font-size: 16px;
}

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

.content a {
  color: var(--violet-edge);
  text-decoration: underline;
  text-decoration-color: var(--holo-2);
  text-underline-offset: 2px;
}

.content a:hover {
  text-decoration-color: var(--violet-edge);
}

/* Footer */

footer {
  border-top: 2px solid var(--hairline);
  padding: 32px 0 48px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--violet);
}

.footer-copy {
  font-size: 14px;
  color: #a49da8;
}

/* Responsive */

@media (max-width: 640px) {
  h1 {
    font-size: 42px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .subline {
    font-size: 18px;
  }

  .section-title {
    font-size: 26px;
  }

  .hero-content {
    padding-top: 32px;
  }

  .section {
    padding: 48px 0;
  }

  .hero-visual {
    gap: 12px;
  }

  .sticker-card {
    width: 100px;
    height: 100px;
    font-size: 12px;
    padding: 12px;
    border-radius: 20px;
  }

  .cta-band-card {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .cta-band h2 {
    font-size: 24px;
  }

  footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
