@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@500;600&family=Manrope:wght@300;400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --bg: #f6f1ec;
  --ink: #1d1c1a;
  --muted: #5c5853;
  --accent: #1f6f78;
  --accent-2: #df6b3f;
  --card: #ffffff;
  --shadow: 0 18px 40px rgba(16, 15, 14, 0.12);
  --radius: 22px;
  --max: 1120px;
}

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

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at top, #fef8f2 0%, #f3ebe3 42%, #efe5dc 100%);
  color: var(--ink);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  line-height: 1.15;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.2'/%3E%3C/svg%3E");
  opacity: 0.12;
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 0;
}

.container {
  width: min(100% - 2.4rem, var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(246, 241, 236, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 12px 28px rgba(31, 111, 120, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(31, 111, 120, 0.3);
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border-color: rgba(31, 111, 120, 0.35);
  box-shadow: none;
}

.btn-small {
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.eyebrow {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-2);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  margin: 0 0 1.2rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.4rem;
}

.metric {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.metric-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.6rem;
  background: linear-gradient(120deg, rgba(31, 111, 120, 0.15), rgba(223, 107, 63, 0.1));
  font-size: 0.85rem;
  color: var(--muted);
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(31, 111, 120, 0.5);
  animation: pulse 2s infinite;
}

.hero-card-body {
  padding: 1.6rem;
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.hero-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.6rem;
}

.hero-card p {
  margin: 0 0 1.6rem;
  color: var(--muted);
}

.hero-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

.hero-card-metrics strong {
  display: block;
  font-size: 1.1rem;
}

.hero-card-metrics span {
  font-size: 0.85rem;
  color: var(--muted);
}

.section {
  padding: 4rem 0;
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.8rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, transparent, rgba(31, 111, 120, 0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::after {
  opacity: 1;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(31, 111, 120, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.muted {
  color: var(--muted);
}

.roi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.roi strong {
  display: block;
  font-size: 1.2rem;
}

.price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
}

.featured {
  border: 1px solid rgba(31, 111, 120, 0.4);
  box-shadow: 0 18px 38px rgba(31, 111, 120, 0.18);
}

.band {
  background: linear-gradient(120deg, rgba(31, 111, 120, 0.08), rgba(223, 107, 63, 0.08));
}

.proof {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.proof-card {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cta {
  padding: 4.5rem 0;
  background: #161616;
  color: #f5efe7;
}

.cta-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.cta-card {
  background: #1f1e1b;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-email {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0.4rem 0 1.4rem;
}

.cta-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer {
  padding: 2rem 0 3rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 111, 120, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(31, 111, 120, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 111, 120, 0);
  }
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .cta-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-card-metrics {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   AUTOMATION PAGE STYLES
   ============================================= */

.auto-hero {
  padding: 5rem 0 3rem;
  text-align: center;
}

.auto-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 0 1.2rem;
}

.auto-hero .lead {
  max-width: 680px;
  margin: 0 auto;
}

.auto-features {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.auto-feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.auto-feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.auto-feature-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.auto-feature-card p {
  margin: 0;
}

.auto-connect-wrap {
  text-align: center;
}

.auto-connect-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.auto-scope-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.8rem;
}

.auto-scope-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
}

.auto-connect-card .btn {
  display: block;
  text-align: center;
  width: 100%;
  margin-bottom: 1rem;
}

.auto-connect-note {
  font-size: 0.85rem;
  text-align: center;
}

.auto-privacy {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  max-width: 720px;
}

.auto-privacy h3 {
  font-size: 1.1rem;
  margin: 1.8rem 0 0.5rem;
}

.auto-privacy h3:first-child {
  margin-top: 0;
}

.auto-privacy p {
  margin: 0 0 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.cta-email {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.3rem 0 1rem;
}

.auto-footer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.auto-etsy-disclaimer {
  font-style: italic;
  opacity: 0.8;
}
