/* Peri at Work landing site. Light mode only. Tokens from brand/stylesheet.md */
:root {
  --plum: #5E3A57;
  --cream: #F6F0E8;
  --sand: #EADFD3;
  --terracotta: #C46A43;
  --peach: #F0B9A0;
  --ink: #2B2229;
  --plum-deep: #4A2D45;      /* hover on plum buttons, still passes 4.5:1 with cream */
  --ink-soft: #55474F;       /* secondary text on cream, 4.5:1+ */
  --line: #D9CABB;
  --focus: #C46A43;
  --radius: 14px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--plum);
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
h1 { font-weight: 700; font-size: clamp(34px, 7vw, 52px); }
h2 { font-weight: 600; font-size: clamp(26px, 5vw, 34px); margin-bottom: 16px; }
h3 { font-weight: 600; font-size: 22px; margin-bottom: 6px; }
p { margin: 0 0 16px; }

.wrap { width: 100%; max-width: 680px; margin: 0 auto; padding: 0 20px; }
section { padding: 48px 0; }
section + section { border-top: 1px solid var(--line); }

.label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 14px;
}

/* Top bar */
.topbar { padding: 20px 0 0; }
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--plum);
  text-decoration: none;
}

/* Hero */
.hero { padding: 28px 0 44px; }
.hero .lede { font-size: 19px; color: var(--ink); margin: 18px 0 28px; }

/* Signup form */
.signup {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.field input {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid #8C7868;
  border-radius: 10px;
  padding: 13px 14px;
  min-height: 50px;
}
.field input:focus { border-color: var(--plum); outline: 3px solid var(--terracotta); outline-offset: 1px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-block;
  width: 100%;
  font: inherit;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  text-decoration: none;
  color: var(--cream);
  background: var(--plum);
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  min-height: 52px;
  cursor: pointer;
}
.btn:hover { background: var(--plum-deep); color: var(--cream); }
.btn-outline {
  background: transparent;
  color: var(--plum);
  box-shadow: inset 0 0 0 2px var(--plum);
  margin-top: 12px;
}
.btn-outline:hover { background: var(--plum); color: var(--cream); }

.consent { font-size: 14px; color: var(--ink-soft); margin: 14px 0 0; }

.alert {
  background: #FBE9E1;
  color: var(--ink);
  border-left: 4px solid var(--terracotta);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
}

/* Lists */
.gains { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.gains li {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.gains strong { color: var(--plum); }

.steps { padding-left: 0; list-style: none; counter-reset: step; margin: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.steps li::before {
  content: counter(step);
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  display: grid;
  place-items: center;
}

.private {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 22px;
}

/* Claire */
.claire { display: flex; gap: 20px; align-items: center; }
.claire img {
  width: 120px; height: 120px; flex: 0 0 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 6px var(--peach);
}
.claire p:last-child { margin-bottom: 0; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 15px; color: var(--ink-soft); }
.footer nav a { margin-right: 14px; }

/* Legal and utility pages */
.doc h1 { margin-bottom: 14px; }
.doc h2 { font-size: 24px; margin-top: 32px; }
.doc p, .doc li { font-size: 16px; }
.doc ul { padding-left: 20px; margin: 0 0 16px; }
.doc .meta { color: var(--ink-soft); font-size: 15px; }

.center { text-align: center; }
.center .btn { width: auto; display: inline-block; padding-left: 28px; padding-right: 28px; }

.kit-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 24px 22px;
  margin: 24px 0;
}

/* Small phones */
@media (max-width: 380px) {
  .claire { flex-direction: column; text-align: center; }
}

@media (min-width: 640px) {
  .gains { grid-template-columns: 1fr; }
  .signup { padding: 32px 30px 28px; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 0.15s ease; }
}
