@font-face {
  font-family: "Montserrat";
  src: url("/assets/montserrat.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

/* Palette taken from the Anumos LinkedIn banner */
:root {
  --cream: #fefbf2;
  --lav: #c2a6f1;
  --lav-dark: #8f6fd1;
  --mauve: #ba9db1;
  --ink: #111111;
  --text: #2b2b33;
  --muted: #5d5a66;
  --card: #ffffff;
  --line: #e7e0d2;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  background: var(--cream);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
}

/* Angular lavender shapes echoing the banner */
.shape { position: fixed; background: var(--lav); z-index: 0; pointer-events: none; }
.shape-left {
  left: -6vw; bottom: -4vh; width: 26vw; height: 30vh;
  clip-path: polygon(0 12%, 62% 0, 100% 100%, 0 100%);
  border-radius: 24px;
}
.shape-right {
  right: -4vw; top: 0; width: 26vw; height: 100vh;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%, 52% 50%);
}

.wrap {
  position: relative; z-index: 1;
  max-width: 1040px; margin: 0 auto;
  padding: 40px 24px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "brand brand" "intro card" "foot foot";
  gap: 32px 56px;
  align-items: center;
}

.brand { grid-area: brand; }
.brand img { display: block; width: 96px; height: auto; }

.intro { grid-area: intro; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px; padding: 6px 14px;
  background: var(--ink); color: var(--cream);
  border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lav);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; transform: scale(.8); } }

h1 {
  margin: 0 0 24px; color: var(--ink);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.12; text-wrap: balance;
}

.bubble {
  position: relative; width: fit-content; max-width: 100%;
  padding: 14px 26px; border-radius: 26px;
  font-size: 1.05rem; color: var(--text);
}
.bubble::after {
  content: ""; position: absolute; bottom: -9px; width: 18px; height: 18px;
  background: inherit; clip-path: polygon(0 0, 100% 0, 0 100%);
}
.bubble-lav { background: var(--lav); }
.bubble-lav::after { left: 22px; }
.bubble-mauve { background: var(--mauve); margin: 16px 0 0 auto; margin-left: clamp(24px, 18%, 120px); }
.bubble-mauve::after { right: 22px; clip-path: polygon(0 0, 100% 0, 100% 100%); }

.lead { margin: 28px 0 0; color: var(--muted); font-size: 1rem; }

.card {
  grid-area: card;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 18px 40px -22px rgba(60, 40, 110, .35);
}
.card h2 { margin: 0 0 18px; font-size: 1.25rem; color: var(--ink); }

form { display: grid; gap: 14px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--ink); }

input, textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: .95rem; color: var(--text);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 11px 14px; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, textarea:focus {
  outline: none; border-color: var(--lav-dark);
  box-shadow: 0 0 0 4px rgba(194, 166, 241, .35);
}
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #c0392b; }

button {
  justify-self: start; font: inherit; font-weight: 700; font-size: .95rem;
  color: var(--cream); background: var(--ink);
  border: 0; border-radius: 999px; padding: 13px 26px; cursor: pointer;
  transition: transform .15s, background .15s;
}
button:hover { background: #2a2140; transform: translateY(-1px); }
button:focus-visible { outline: 3px solid var(--lav-dark); outline-offset: 3px; }

.status { margin: 0; min-height: 0; font-size: .88rem; color: var(--muted); }
.status:empty { display: none; }
.status.error { color: #b03a2e; }

.alt { margin: 18px 0 0; font-size: .88rem; color: var(--muted); }
.alt a { color: var(--ink); font-weight: 600; text-decoration-color: var(--lav); text-underline-offset: 3px; text-decoration-thickness: 2px; }

footer { grid-area: foot; font-size: .8rem; color: var(--muted); }

@media (max-width: 860px) {
  .wrap { grid-template-columns: 1fr; grid-template-areas: "brand" "intro" "card" "foot"; gap: 28px; padding: 28px 16px; }
  .brand img { width: 72px; }
  .shape-right { width: 30vw; height: 42vh; opacity: .9; }
  .shape-left { width: 60vw; height: 28vh; }
}
@media (max-width: 520px) {
  .row { grid-template-columns: 1fr; }
  .card { padding: 22px 18px; }
  .shape-right { display: none; }
  button { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }

/* Honeypot field for bots, hidden from humans */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status.ok { color: #2f7d4f; font-weight: 600; }
button:disabled { opacity: .6; cursor: wait; transform: none; }
