/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── TOKENS ── */
:root {
  --green-deep:  #1a3a2a;
  --green-mid:   #2d5a3d;
  --green-acid:  #b8f04a;
  --cream:       #f5f0e8;
  --cream-dark:  #ede8de;
  --text-main:   #1a3a2a;
  --text-muted:  #5a7a66;
  --white:       #ffffff;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text-main);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE ── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ── LAYOUT ── */
.mkt-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* ── HEADER ── */
.mkt-header {
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mkt-header.bordered { border-bottom: 1px solid var(--cream-dark); }

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-mark { width: 36px; height: 36px; }

.logo-wordmark {
  font-family: "DM Serif Display", serif;
  font-size: 1.6rem;
  color: var(--green-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--green-deep); }

.header-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.header-link:hover { color: var(--green-deep); }

.badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--cream-dark);
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  background: var(--white);
}

/* ── HERO (home / freelancer) ── */
.mkt-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem 4rem;
  text-align: center;
  position: relative;
}

.mkt-hero {
  overflow: hidden;
}

.mkt-hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 90, 61, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-acid);
  animation: pulse 2s infinite;
}

.mkt-h1 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--green-deep);
  max-width: 14ch;
  margin: 0 auto 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.mkt-h1 em {
  font-style: italic;
  color: var(--green-mid);
}

.mkt-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 42ch;
  margin: 0 auto 3rem;
  line-height: 1.6;
  font-weight: 400;
  animation: fadeUp 0.6s 0.2s ease both;
}

/* ── FORM ── */
.form-wrap {
  width: 100%;
  max-width: 480px;
  animation: fadeUp 0.6s 0.3s ease both;
}

.form-row {
  display: flex;
  gap: 0;
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(26, 58, 42, 0.08);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.form-row:focus-within {
  border-color: var(--green-mid);
  box-shadow: 0 4px 32px rgba(26, 58, 42, 0.14);
}

.form-row input {
  flex: 1;
  padding: 1rem 1.25rem;
  border: none;
  outline: none;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--green-deep);
  background: transparent;
}

.form-row input::placeholder { color: var(--text-muted); opacity: 0.7; }

.form-row button {
  padding: 0.85rem 1.5rem;
  background: var(--green-deep);
  color: var(--green-acid);
  border: none;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
  margin: 0.35rem;
  border-radius: 0.5rem;
}

.form-row button:hover { background: var(--green-mid); }
.form-row button:active { transform: scale(0.98); }
.form-row button:disabled { opacity: 0.6; cursor: not-allowed; }

.form-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-note a { color: var(--green-mid); text-underline-offset: 3px; }

.form-error {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #c0392b;
}

.success-msg {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--green-deep);
  color: var(--cream);
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 400;
  animation: fadeUp 0.4s ease both;
}

.success-icon {
  width: 24px;
  height: 24px;
  background: var(--green-acid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ── CHIPS ── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 3rem;
  animation: fadeUp 0.6s 0.4s ease both;
}

.chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 2rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

.chip-icon { font-size: 0.9rem; }

/* ── TICKER ── */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--green-deep);
  padding: 0.75rem 0;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker 20s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-acid);
  opacity: 0.85;
  flex-shrink: 0;
}

.ticker-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green-acid);
  opacity: 0.5;
}

/* ── HOW IT WORKS — LAYOUT ── */
.mkt-content {
  padding: 4rem 2rem 6rem;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

/* ── HOW IT WORKS — PAGE HEADER ── */
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}

.mkt-page-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--green-deep);
  margin-bottom: 1.25rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.mkt-page-title em {
  font-style: italic;
  color: var(--green-mid);
}

.mkt-page-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 48ch;
  line-height: 1.65;
  font-weight: 400;
  margin-bottom: 4rem;
  animation: fadeUp 0.6s 0.2s ease both;
}

/* ── HOW IT WORKS — TOGGLE ── */
.toggle-wrap {
  display: inline-flex;
  background: var(--cream-dark);
  border-radius: 2rem;
  padding: 0.25rem;
  gap: 0.25rem;
  margin-bottom: 3rem;
  animation: fadeUp 0.6s 0.25s ease both;
}

.toggle-btn {
  border: none;
  background: transparent;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.toggle-btn.active {
  background: var(--green-deep);
  color: var(--green-acid);
  font-weight: 500;
}

.toggle-icon { font-size: 1rem; }

.hidden { display: none !important; }

/* ── HOW IT WORKS — STEPS ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  animation: fadeUp 0.6s 0.3s ease both;
}

.steps::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 56px;
  bottom: 56px;
  width: 2px;
  background: linear-gradient(to bottom, var(--green-acid), var(--cream-dark));
  z-index: 0;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--cream-dark);
  position: relative;
}

.step:last-child { border-bottom: none; }

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--green-acid);
  font-family: "DM Serif Display", serif;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--cream);
}

.step-content { padding-top: 0.5rem; }

.step-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.step-title {
  font-family: "DM Serif Display", serif;
  font-size: 1.7rem;
  color: var(--green-deep);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.step-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
  max-width: 52ch;
}

.step-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.detail-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 2rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pill-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-acid);
  flex-shrink: 0;
}

/* ── HOW IT WORKS — PRICING ── */
.pricing-section {
  margin-top: 4rem;
  animation: fadeUp 0.6s 0.5s ease both;
}

.pricing-intro { margin-bottom: 1.5rem; }

.pricing-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.pricing-headline {
  font-family: "DM Serif Display", serif;
  font-size: 1.8rem;
  color: var(--green-deep);
  line-height: 1.15;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pricing-tile {
  background: var(--green-deep);
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.pricing-tile.featured {
  background: var(--green-mid);
  border: 2px solid var(--green-acid);
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-acid);
  color: var(--green-deep);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-tile-name {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-acid);
  opacity: 0.7;
}

.pricing-tile-amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.pricing-tile-amount .amount {
  font-family: "DM Serif Display", serif;
  font-size: 3rem;
  color: var(--green-acid);
  line-height: 1;
}

.pricing-tile-amount .period {
  font-size: 0.82rem;
  color: var(--cream);
  opacity: 0.45;
}

.pricing-tile-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.pricing-tile-points li {
  font-size: 0.88rem;
  color: var(--cream);
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-tile-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-acid);
  flex-shrink: 0;
  opacity: 0.6;
}

.pricing-tile-saving {
  font-size: 0.78rem;
  color: var(--green-acid);
  font-weight: 600;
  margin-top: auto;
}

/* ── HOW IT WORKS — FAQ ── */
.faq { margin-top: 4rem; animation: fadeUp 0.6s 0.6s ease both; }

.faq-title {
  font-family: "DM Serif Display", serif;
  font-size: 1.8rem;
  color: var(--green-deep);
  margin-bottom: 2rem;
}

.faq-item {
  border-top: 1px solid var(--cream-dark);
  padding: 1.5rem 0;
}

.faq-item:last-child { border-bottom: 1px solid var(--cream-dark); }

.faq-q {
  font-size: 1rem;
  font-weight: 500;
  color: var(--green-deep);
  margin-bottom: 0.6rem;
}

.faq-a {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
}

/* ── HOW IT WORKS — CTA ── */
.cta-section {
  margin-top: 4rem;
  text-align: center;
  animation: fadeUp 0.6s 0.7s ease both;
}

.cta-title {
  font-family: "DM Serif Display", serif;
  font-size: 2rem;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.cta-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-deep);
  color: var(--green-acid);
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 24px rgba(26, 58, 42, 0.15);
}

.cta-btn:hover { background: var(--green-mid); transform: translateY(-1px); }
.cta-btn:active { transform: scale(0.98); }

/* ── PRIVACY ── */
.privacy-content {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  width: 100%;
}

.privacy-content .page-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.privacy-content h1 {
  font-family: "DM Serif Display", serif;
  font-size: 2.8rem;
  color: var(--green-deep);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.last-updated {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--cream-dark);
}

.privacy-content h2 {
  font-family: "DM Serif Display", serif;
  font-size: 1.35rem;
  color: var(--green-deep);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.privacy-content p {
  font-size: 0.95rem;
  color: var(--green-mid);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.privacy-content ul {
  margin: 0.5rem 0 1rem 0;
  padding-left: 1.25rem;
}

.privacy-content ul li {
  font-size: 0.95rem;
  color: var(--green-mid);
  margin-bottom: 0.4rem;
  line-height: 1.65;
}

.privacy-content a {
  color: var(--green-deep);
  text-underline-offset: 3px;
}

.privacy-content a:hover { color: var(--green-mid); }

.callout {
  background: var(--green-deep);
  border-radius: 0.75rem;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}

.callout p {
  color: var(--cream);
  opacity: 0.85;
  margin: 0;
  font-size: 0.9rem;
}

.callout strong {
  color: var(--green-acid);
  font-weight: 500;
}

/* ── FOOTER ── */
.mkt-footer {
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--cream-dark);
}

.footer-left {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  gap: 1.5rem;
}

.footer-right a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-right a:hover { color: var(--green-deep); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  .mkt-header { padding: 1.5rem; }
  .badge { display: none; }
  .form-row { flex-direction: column; border-radius: 0.75rem; }
  .form-row button { margin: 0; border-radius: 0 0 0.6rem 0.6rem; padding: 1rem; }
  .mkt-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .mkt-content { padding: 2.5rem 1.5rem 4rem; }
  .steps::before { left: 24px; }
  .step { grid-template-columns: 48px 1fr; gap: 1.25rem; }
  .step-number { width: 48px; height: 48px; font-size: 1.2rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .privacy-content { padding: 2.5rem 1.25rem 4rem; }
  .privacy-content h1 { font-size: 2rem; }
}
