/* NowDraft — modern static marketing site */
:root {
  --nd-navy: #000f46;
  --nd-navy-light: #0a1a5c;
  --nd-mint: #18f2b2;
  --nd-mint-dark: #0fd99a;
  --nd-white: #ffffff;
  --nd-gray-50: #f8fafc;
  --nd-gray-100: #f1f5f9;
  --nd-gray-200: #e2e8f0;
  --nd-gray-400: #94a3b8;
  --nd-gray-600: #475569;
  --nd-gray-800: #1e293b;
  --nd-radius: 16px;
  --nd-radius-sm: 10px;
  --nd-shadow: 0 4px 24px rgba(0, 15, 70, 0.08);
  --nd-shadow-lg: 0 20px 60px rgba(0, 15, 70, 0.12);
  --nd-font: "DM Sans", system-ui, -apple-system, sans-serif;
  --nd-font-display: "Nunito", "DM Sans", system-ui, sans-serif;
  --nd-max-width: 1200px;
  --nd-header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--nd-font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--nd-gray-800);
  background: var(--nd-white);
}

body.nd-nav-open {
  overflow: hidden;
}

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

a { color: var(--nd-navy); transition: color 0.2s ease; }
a:hover { color: var(--nd-mint-dark); }

h1, h2, h3, h4 {
  font-family: var(--nd-font-display);
  color: var(--nd-navy);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

p { margin: 0 0 1rem; }

/* Header */
.nd-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nd-header-height);
  background: var(--nd-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nd-header__inner {
  max-width: var(--nd-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nd-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 180px;
  text-decoration: none;
  line-height: 0;
}

.nd-logo__img {
  display: block;
  width: auto;
  height: 32px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.nd-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--nd-white);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nd-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nd-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
}

.nd-nav a:hover,
.nd-nav a.is-active {
  color: var(--nd-white);
}

.nd-nav__cta {
  background: var(--nd-mint) !important;
  color: var(--nd-navy) !important;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 600 !important;
}

.nd-nav__cta:hover {
  background: var(--nd-mint-dark) !important;
  color: var(--nd-navy) !important;
}

/* Layout */
.nd-main { min-height: calc(100vh - var(--nd-header-height) - 280px); }

.nd-container {
  max-width: var(--nd-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nd-container--narrow { max-width: 760px; }

.nd-section { padding: 4.5rem 0; }
.nd-section--muted { background: var(--nd-gray-50); }

.nd-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.nd-section__header h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.nd-section__header p { color: var(--nd-gray-600); margin-bottom: 0; }

/* Homepage hero */
.nd-hero {
  background: linear-gradient(135deg, var(--nd-navy) 0%, #001560 55%, #002080 100%);
  color: var(--nd-white);
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.nd-hero__inner {
  max-width: var(--nd-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.nd-hero h1,
.nd-hero h2,
.nd-hero h3 { color: var(--nd-white); }

.nd-hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nd-mint);
  margin-bottom: 1rem;
}

.nd-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1rem;
}

.nd-hero__lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
}

.nd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.nd-hero__note {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.nd-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nd-hero__image {
  width: 108%;
  max-width: 108%;
  height: auto;
  object-fit: contain;
}

/* Product illustrations — alpha-aware shadow on main art only */
.nd-illustration {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 16px 40px rgba(0, 15, 70, 0.12));
}

.nd-split__media {
  background: transparent;
}

/* Page hero (inner pages) */
.nd-page-hero {
  background: linear-gradient(135deg, var(--nd-navy), #001560);
  color: var(--nd-white);
  padding: 3.5rem 0;
  text-align: center;
}

.nd-page-hero h1 {
  color: var(--nd-white);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.nd-page-hero__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin: 0;
}

/* Buttons */
.nd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.nd-btn:hover { transform: translateY(-1px); }

.nd-btn--primary {
  background: var(--nd-mint);
  color: var(--nd-navy);
}

.nd-btn--primary:hover {
  background: var(--nd-mint-dark);
  color: var(--nd-navy);
  box-shadow: 0 8px 24px rgba(24, 242, 178, 0.35);
}

.nd-btn--secondary {
  background: transparent;
  color: var(--nd-white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.nd-section .nd-btn--secondary {
  color: var(--nd-navy);
  border-color: var(--nd-gray-200);
}

.nd-section .nd-btn--secondary:hover {
  border-color: var(--nd-mint);
  color: var(--nd-navy);
}

/* Workflow steps */
.nd-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.nd-step {
  background: var(--nd-white);
  border-radius: var(--nd-radius);
  padding: 1.75rem;
  box-shadow: var(--nd-shadow);
}

.nd-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--nd-mint);
  color: var(--nd-navy);
  font-weight: 800;
  font-family: var(--nd-font-display);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.nd-step h3 { font-size: 1.125rem; }
.nd-step p { color: var(--nd-gray-600); margin: 0; font-size: 0.9375rem; }

/* Feature grid */
.nd-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.nd-feature-card {
  background: var(--nd-white);
  border: 1px solid var(--nd-gray-200);
  border-radius: var(--nd-radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.nd-feature-card:hover {
  box-shadow: var(--nd-shadow);
  border-color: rgba(24, 242, 178, 0.4);
}

.nd-feature-card h3 { font-size: 1.0625rem; }
.nd-feature-card p { color: var(--nd-gray-600); margin: 0; font-size: 0.9375rem; }

.nd-feature-card--large { padding: 2rem; }

/* Split layout */
.nd-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.nd-split__content h2 { font-size: 1.5rem; margin-top: 1.5rem; }
.nd-split__content h2:first-child { margin-top: 0; }

/* Logo strip */
.nd-logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.nd-logo-strip__item {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(30%);
  transition: opacity 0.2s ease;
}

.nd-logo-strip__item:hover { opacity: 1; }

/* CTA band */
.nd-cta-band {
  background: var(--nd-navy);
  color: var(--nd-white);
  padding: 4rem 0;
  text-align: center;
}

.nd-cta-band h2 { color: var(--nd-white); font-size: clamp(1.5rem, 3vw, 2rem); }
.nd-cta-band p { color: rgba(255, 255, 255, 0.8); margin-bottom: 1.5rem; }

/* Pricing */
.nd-pricing-banner {
  text-align: center;
  font-weight: 600;
  color: var(--nd-mint-dark);
  background: rgba(24, 242, 178, 0.12);
  padding: 0.75rem 1rem;
  border-radius: var(--nd-radius-sm);
  margin-bottom: 2rem;
}

.nd-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.nd-pricing-card {
  border: 1px solid var(--nd-gray-200);
  border-radius: var(--nd-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  background: var(--nd-white);
}

.nd-pricing-card--featured {
  border-color: var(--nd-mint);
  box-shadow: 0 0 0 2px rgba(24, 242, 178, 0.25), var(--nd-shadow-lg);
  transform: scale(1.02);
}

.nd-pricing-card h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nd-pricing-card__price {
  font-family: var(--nd-font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--nd-navy);
  margin-bottom: 0.25rem;
}

.nd-pricing-card__credits {
  font-weight: 600;
  color: var(--nd-mint-dark);
  margin-bottom: 0.5rem;
}

.nd-pricing-card__note {
  font-size: 0.8125rem;
  color: var(--nd-gray-400);
  margin-bottom: 1rem;
}

.nd-pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.nd-pricing-card__features li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--nd-gray-100);
  font-size: 0.9375rem;
  color: var(--nd-gray-600);
}

.nd-pricing-card__features li::before {
  content: "✓";
  color: var(--nd-mint-dark);
  font-weight: 700;
  margin-right: 0.5rem;
}

.nd-enterprise {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--nd-gray-50);
  border-radius: var(--nd-radius);
  text-align: center;
}

.nd-pricing-addon {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--nd-gray-600);
}

/* Contact */
.nd-contact-card {
  background: var(--nd-gray-50);
  border-radius: var(--nd-radius);
  padding: 2.5rem;
}

.nd-contact-card h2 { font-size: 1.125rem; margin-top: 1.5rem; }
.nd-contact-card h2:first-child { margin-top: 0; }

.nd-contact-card__note {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--nd-gray-600);
}

/* Callout */
.nd-callout {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 15, 70, 0.04), rgba(24, 242, 178, 0.08));
  border-radius: var(--nd-radius);
  text-align: center;
}

/* Use case pages */
.nd-use-case-intro {
  padding: 4rem 0 3rem;
  background: var(--nd-white);
}

.nd-use-case-intro h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.nd-use-case-intro__lead {
  font-size: 1.125rem;
  color: var(--nd-gray-600);
  margin-bottom: 1.5rem;
}

.nd-use-case-intro__media {
  position: relative;
  background: transparent;
  padding: 0.5rem 1.5rem;
}

.nd-use-case-intro__media > .nd-illustration {
  width: 100%;
  object-fit: contain;
}

.nd-use-case-badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nd-use-case-badge {
  position: absolute;
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 15, 70, 0.18);
  background: var(--nd-white);
  padding: 0.3rem;
  filter: none;
}

.nd-use-case-badge--tiktok {
  top: 4%;
  right: 0;
  transform: rotate(-10deg);
}

.nd-use-case-badge--instagram {
  bottom: 6%;
  left: 0;
  transform: rotate(12deg);
}

.nd-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.nd-benefit-card {
  background: var(--nd-white);
  border-radius: var(--nd-radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--nd-shadow);
  border: 1px solid var(--nd-gray-200);
}

.nd-benefit-card h3 {
  font-size: 1.0625rem;
  margin: 0;
}

.nd-cta-band__inner--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
}

.nd-cta-band__inner--row h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

@media (max-width: 960px) {
  .nd-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nd-use-case-badge {
    width: 48px;
    height: 48px;
  }

  .nd-use-case-intro__media {
    padding: 0.5rem 1rem;
  }

  .nd-cta-band__inner--row {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .nd-benefit-grid {
    grid-template-columns: 1fr;
  }
}

/* Checklist */
.nd-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.nd-checklist li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
}

.nd-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--nd-mint-dark);
  font-weight: 700;
}

/* Zapier */
.nd-zapier-intro {
  text-align: center;
  color: var(--nd-gray-600);
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.nd-zapier-embed {
  width: 100%;
  min-height: 640px;
  border: 1px solid var(--nd-gray-200);
  border-radius: var(--nd-radius);
  background: var(--nd-white);
  box-shadow: var(--nd-shadow);
  padding: 1rem;
  overflow: hidden;
}

.nd-zapier-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.nd-zapier-note {
  color: var(--nd-gray-600);
  font-size: 0.9375rem;
  text-align: center;
  margin-top: 1.25rem;
}

/* Blog */
.nd-post-list { display: flex; flex-direction: column; gap: 2rem; }

.nd-post-card {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--nd-gray-200);
}

.nd-post-card:last-child { border-bottom: none; }

.nd-post-card__meta {
  font-size: 0.875rem;
  color: var(--nd-gray-400);
  margin-bottom: 0.5rem;
}

.nd-post-card h2 { font-size: 1.375rem; }
.nd-post-card h2 a { text-decoration: none; color: var(--nd-navy); }
.nd-post-card h2 a:hover { color: var(--nd-mint-dark); }

.nd-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--nd-navy);
}

.nd-link:hover { color: var(--nd-mint-dark); }

.nd-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.nd-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--nd-radius-sm);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--nd-gray-200);
}

.nd-pagination a.is-active,
.nd-pagination a:hover {
  background: var(--nd-navy);
  color: var(--nd-white);
  border-color: var(--nd-navy);
}

/* Article */
.nd-article__meta {
  font-size: 0.875rem;
  color: var(--nd-gray-400);
  margin-bottom: 1.5rem;
}

.nd-article__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--nd-gray-200);
}

.nd-article__figure { margin: 1.5rem 0; }
.nd-article__figure img { border-radius: var(--nd-radius-sm); }

/* Prose */
.nd-prose h2 {
  font-size: 1.375rem;
  margin-top: 2rem;
}

.nd-prose {
  overflow-wrap: break-word;
}

.nd-prose img,
.nd-prose iframe,
.nd-prose video {
  max-width: 100%;
  height: auto;
}

.nd-prose h3 {
  font-size: 1.125rem;
  margin-top: 1.5rem;
}

.nd-prose ul, .nd-prose ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.nd-prose li { margin-bottom: 0.35rem; }

.nd-legal-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--nd-gray-200);
}

.nd-legal-section:last-child { border-bottom: none; }

/* Footer */
.nd-footer {
  background: var(--nd-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
}

.nd-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.nd-footer a:hover { color: var(--nd-mint); }

.nd-footer__inner {
  max-width: var(--nd-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nd-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.nd-footer__logo {
  height: 28px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 0.75rem;
}

.nd-footer__tagline {
  font-size: 0.9375rem;
  max-width: 260px;
  margin: 0;
}

.nd-footer h4 {
  color: var(--nd-white);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.nd-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nd-footer li { margin-bottom: 0.5rem; }
.nd-footer li a { font-size: 0.9375rem; }

.nd-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 960px) {
  .nd-hero__inner,
  .nd-split,
  .nd-steps,
  .nd-feature-grid,
  .nd-feature-grid--2,
  .nd-pricing-grid,
  .nd-footer__grid {
    grid-template-columns: 1fr;
  }

  .nd-pricing-card--featured { transform: none; }

  .nd-hero__visual { order: -1; max-width: 540px; margin: 0 auto; }

  .nd-hero__image {
    width: 100%;
    max-width: 100%;
  }

  .nd-menu-toggle { display: inline-flex; }

  .nd-nav {
    position: fixed;
    top: var(--nd-header-height);
    left: 0;
    right: 0;
    background: var(--nd-navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--nd-shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nd-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nd-nav a {
    padding: 0.875rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
  }

  .nd-nav > a:not(.nd-nav__cta) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nd-nav a:hover,
  .nd-nav a.is-active {
    color: var(--nd-mint);
  }

  .nd-nav__cta {
    margin-top: 0.75rem;
    text-align: center;
    justify-content: center;
  }

  .nd-section { padding: 3rem 0; }
  .nd-hero { padding: 2.5rem 0 3rem; }
}

@media (max-width: 600px) {
  .nd-container,
  .nd-header__inner,
  .nd-hero__inner,
  .nd-footer__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nd-cta-band__inner--row .nd-btn,
  .nd-hero__actions .nd-btn {
    width: 100%;
  }

  .nd-hero__actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nd-btn:hover { transform: none; }
}

.nd-animate-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.nd-animate-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .nd-animate-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
