/* AdjustEd marketing site: the same look as the SaaS and the app.
   Outback Ochre on a sand ground with soft, grainy blobs (see blobs.js), the
   Young Serif wordmark and headings, pill buttons and cream cards.
   Loaded after styles.css so it only overrides what's different. */
:root {
  --sand: #edd9be;
  --ochre: #e39a2d;
  --cream: #fbf5ee;
  --card: color-mix(in srgb, var(--cream) 93%, transparent);
  --card-line: rgba(184, 87, 46, 0.45);
  --serif: "Young Serif", Georgia, serif;
}

html {
  background: var(--sand);
}

body {
  background: transparent;
}

/* The blob canvas sits behind everything. */
#bg-blobs {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ---- Headings ---- */
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  line-height: 1.12;
}

.eyebrow {
  color: var(--primary);
}

/* ---- Wordmark: ochre letters with an espresso outline ---- */
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: var(--ochre);
  -webkit-text-stroke: 0.07em var(--primary-dark);
  paint-order: stroke fill;
  text-shadow: 0 0.04em 0 rgba(58, 34, 20, 0.35);
}

/* ---- Navigation ---- */
.nav {
  background: color-mix(in srgb, var(--sand) 86%, transparent);
  border-bottom: 2px solid var(--primary-dark);
}

.nav-links a {
  color: var(--primary-dark);
}

.nav-links a[aria-selected="true"] {
  border-bottom-color: var(--primary);
}

/* ---- Buttons: pills with an outline, like the SaaS ---- */
.btn {
  border: 2px solid var(--primary-dark);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  background: color-mix(in srgb, var(--cream) 70%, transparent);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* ---- Page bands: let the blobs show through ---- */
.hero,
.page-hero {
  background: transparent;
}

.section.alt {
  background: color-mix(in srgb, var(--cream) 55%, transparent);
}

/* The "problem" band keeps its dark espresso background with light text. */
.problem {
  background: var(--primary-dark);
  border-top: 2px solid var(--primary-dark);
}

.hero::before,
.hero::after {
  display: none;
}

.page-hero .lead {
  margin-left: auto;
  margin-right: auto;
}

.cta {
  background: var(--primary);
  color: #fff;
  border-top: 2px solid var(--primary-dark);
  border-bottom: 2px solid var(--primary-dark);
}

.footer {
  background: var(--primary-dark);
}

/* ---- Cards: cream, rounded, terracotta outline ---- */
.feature,
.steps li,
.audience,
.callout,
.sec-item,
.plan,
.person,
.contact-form,
details,
.demo,
.demo-history,
.demo-switch {
  background: var(--card);
  border: 2px solid var(--card-line);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(58, 34, 20, 0.08);
}

.plan.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(232, 168, 31, 0.35), 0 14px 32px rgba(58, 34, 20, 0.12);
}

.plan-badge {
  background: var(--accent);
  color: var(--primary-dark);
}

.price.price-text {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.2;
  margin: 8px 0 12px;
}

.step-num {
  background: var(--accent);
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

.icon {
  background: var(--sand);
}

/* Inputs: pill style */
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 18px;
}

/* ---- Text that sits on the blobs gets a soft cream panel so it stays easy to read ---- */
.hero-copy,
.page-hero .narrow {
  background: color-mix(in srgb, var(--cream) 78%, transparent);
  border: 2px solid var(--card-line);
  border-radius: 32px;
  padding: 40px 36px;
  box-shadow: 0 10px 28px rgba(58, 34, 20, 0.08);
}

.page-hero .narrow {
  width: min(820px, 100% - 40px);
}

.lead,
.muted {
  color: #5e4636;
}

.sec-item {
  padding: 22px 24px;
}

/* ---- Small screens: wordmark and Log in share the top row, the page links scroll underneath ---- */
@media (max-width: 960px) {
  .nav-inner {
    height: auto;
    padding: 10px 0;
    row-gap: 8px;
  }

  .brand {
    order: 1;
  }

  .nav-login {
    order: 2;
    margin-left: auto;
  }

  .nav-inner > nav {
    order: 3;
    flex-basis: 100%;
    min-width: 0;
  }

  .nav-links {
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .hero-copy,
  .page-hero .narrow {
    padding: 28px 20px;
  }
}
