/* Primrose Post marketing site. Tokens from the Primrose Post Design Guidelines. */
:root {
  --cream: #faf3dd;
  --paper: #fffaf0;
  --paper-light: #fffdf6;
  --primrose: #f3e08a;
  --halo: #f3e4a2;
  --golden-eye: #e3a92b;
  --sage-wax: #7c9b69;
  --leaf: #8daa78;
  --deep-sage: #4e6a44;
  --deep-sage-pressed: #3b5234;
  --robin-orange: #e2703f;
  --dusty-rose: #e2b3aa;
  --ink: #4a3428;
  --ink-secondary: #6b5647;
  --ink-soft: #5f4b3e;
  --rust: #a3461f;
  --meadow: #eef0d6;
  --river: #d3e3e0;
  --card-border: #e2d6b6;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--deep-sage);
}

a:hover {
  color: var(--deep-sage-pressed);
}

:focus-visible {
  outline: 3px solid var(--golden-eye);
  outline-offset: 3px;
  border-radius: 6px;
}

svg {
  display: block;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--deep-sage);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 10px 16px;
  background: var(--paper-light);
  border-radius: 10px;
  z-index: 10;
}

.skip:focus {
  left: 16px;
}

/* Header */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 26px;
  background: var(--deep-sage);
  color: var(--paper-light);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.btn:hover {
  background: var(--deep-sage-pressed);
  color: var(--paper-light);
}

.btn-small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

.btn,
.brand {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .brand {
    font-size: 19px;
    gap: 8px;
  }
  .btn-small {
    padding: 0 14px;
    font-size: 14px;
  }
}

.soon {
  font-size: 15px;
  color: var(--ink-secondary);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 72px;
}

.hero h1 {
  font-size: clamp(44px, 7.4vw, 80px);
  letter-spacing: -0.02em;
  margin-top: 14px;
}

.lede {
  margin-top: 20px;
  font-size: clamp(18px, 2.1vw, 21px);
  color: var(--ink-soft);
  max-width: 34em;
}

.ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 32px;
}

.hero-art {
  width: 100%;
  max-width: 520px;
  justify-self: center;
}

@media (prefers-reduced-motion: no-preference) {
  .float {
    animation: float 4.5s ease-in-out infinite;
  }
  @keyframes float {
    50% {
      transform: translateY(-6px);
    }
  }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    padding-top: 40px;
    padding-bottom: 104px;
  }
}

/* Sections */
section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.section-head {
  max-width: 640px;
}

.section-head h2 {
  font-size: clamp(34px, 4.6vw, 52px);
  letter-spacing: -0.015em;
  margin-top: 12px;
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
}

.band {
  background: var(--paper);
  border-top: 1.5px solid var(--card-border);
  border-bottom: 1.5px solid var(--card-border);
}

/* Journey cards */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.card {
  background: var(--paper-light);
  border: 1.5px solid var(--card-border);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(74, 52, 40, 0.08);
  padding: 20px 20px 24px;
}

.card-art {
  height: 150px;
  border-radius: 14px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card h3 {
  font-size: 24px;
  margin-top: 20px;
}

.card p {
  margin-top: 8px;
  font-size: 16px;
  color: var(--ink-secondary);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--deep-sage);
  color: var(--paper-light);
  font-weight: 700;
  font-size: 14px;
  margin-top: 20px;
}

/* Seal stages */
.stages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 32px;
  margin-top: 48px;
  padding: 0;
  list-style: none;
  text-align: center;
}

.stages li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stages h3 {
  font-size: 30px;
  margin-top: 18px;
}

.stages p {
  margin-top: 6px;
  font-size: 16px;
  color: var(--ink-secondary);
  max-width: 260px;
}

/* Pip */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
}

.accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--rust);
  margin-top: 6px;
}

/* Promises */
.promises {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 20px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
}

.promise {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.promise h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
}

.promise p {
  margin-top: 4px;
  font-size: 16px;
  color: var(--ink-secondary);
}

/* Closing call to action */
.closing {
  text-align: center;
  padding-bottom: 96px;
}

.closing h2 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.015em;
  margin-top: 20px;
}

.closing .ctas {
  justify-content: center;
}

footer {
  border-top: 1.5px solid var(--card-border);
  padding-top: 28px;
  padding-bottom: 40px;
  font-size: 15px;
  color: var(--ink-secondary);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* SVG line styles shared by the illustrations */
.ink { stroke: #4a3428; stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.ink2 { stroke: #4a3428; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.k15 { stroke: #4a3428; stroke-width: 1.5; }
.ln { fill: none; stroke: #4a3428; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.ln2 { fill: none; stroke: #4a3428; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fea { fill: none; stroke: #553624; stroke-width: 2.5; stroke-linecap: round; }
.band-line { fill: none; stroke: #b8c2c5; stroke-width: 12; }
.strapo { fill: none; stroke: #4a3428; stroke-width: 15; }
.strap { fill: none; stroke: #5e7d52; stroke-width: 10; }
.buckle { fill: none; stroke: #e3a92b; stroke-width: 3; }
.branch { fill: none; stroke: #8c6a4c; stroke-width: 13; stroke-linecap: round; }
.twig { fill: none; stroke: #8c6a4c; stroke-width: 6; stroke-linecap: round; }
.leafm { fill: #8daa78; stroke: #4a3428; stroke-width: 2.2; stroke-linejoin: round; }
.rib { fill: none; stroke: #5e7d52; stroke-width: 1.6; stroke-linecap: round; }
.pet { fill: #f3e08a; stroke: #4a3428; stroke-width: 2.6; stroke-linejoin: round; }
.env { fill: #fffaf0; stroke: #e0d2b8; stroke-width: 2; }
.flap { fill: #f6ecd8; stroke: #e0d2b8; stroke-width: 2; stroke-linejoin: round; }
.fold { fill: none; stroke: #e8dcc5; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.liner { fill: none; stroke: #e2b3aa; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wax { fill: #7c9b69; stroke: #56724a; stroke-width: 1.5; }
.waxsh { fill: #4a3428; opacity: 0.14; }
.hl { fill: none; stroke: #b9d0a6; stroke-width: 3; stroke-linecap: round; opacity: 0.85; }
.rim { fill: none; stroke: #a9c495; stroke-width: 2.5; }
.rim2 { fill: none; stroke: #587548; stroke-width: 1.5; }
.stem { fill: none; stroke: #afca9b; stroke-width: 3; stroke-linecap: round; }
.leaf { fill: #afca9b; stroke: #56724a; stroke-width: 1; stroke-linejoin: round; }
.bud { fill: #c3d9b0; stroke: #56724a; stroke-width: 1.2; stroke-linejoin: round; }
.petal { fill: #f3e08a; stroke: #b8932c; stroke-width: 2; stroke-linejoin: round; }
.route-on { fill: none; stroke: #b88f45; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 9; }
.route-off { fill: none; stroke: #d2bf94; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 9; }
.stop { fill: #4e6a44; stroke: #fffdf6; stroke-width: 2; }
