@property --tx {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --ty {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

:root {
  --bg: #fbf9f6;
  --card: #ffffff;
  --charcoal: #1c1c1c;
  --beige: #ede3d3;
  --ink-soft: #6b6459;
  --line: #e7e1d8;
  --clay: #a85c32;
  --clay-deep: #8a4a27;
  --focus: #1c1c1c;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--charcoal);
  font-family: "General Sans", -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

header.top {
  padding: 30px 0 0;
}

.wordmark {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.wordmark .peach { color: var(--clay-deep); }

main {
  padding: 60px 0 40px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  color: var(--clay-deep);
  margin: 0 0 20px;
}

h1 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(2.3rem, 5.2vw, 3.4rem);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: 16ch;
  color: var(--charcoal);
}

.sub {
  font-size: 1.13rem;
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 0 12px;
}

/* Signature: chaos to one link */
.converge {
  position: relative;
  height: 300px;
  margin: 56px 0 24px;
}

.chip {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 13px;
  color: var(--ink-soft);
  box-shadow: 0 8px 20px -10px rgba(28, 28, 28, 0.14);
  animation-name: converge;
  animation-fill-mode: both;
}
.chip--1 {
  top: 4%; left: 2%; --tx: 240px; --ty: 130px;
  animation-duration: 0.95s;
  animation-delay: 0.2s;
  animation-timing-function: cubic-bezier(0.55, 0, 0.3, 1);
}
.chip--2 {
  top: 8%; right: 4%; --tx: -230px; --ty: 140px;
  animation-duration: 1.2s;
  animation-delay: 0.45s;
  animation-timing-function: cubic-bezier(0.7, 0, 0.25, 1);
}
.chip--3 {
  top: 58%; left: 0%; --tx: 250px; --ty: -30px;
  animation-duration: 1.05s;
  animation-delay: 0.3s;
  animation-timing-function: cubic-bezier(0.6, 0, 0.35, 1);
}
.chip--4 {
  top: 66%; right: 0%; --tx: -250px; --ty: -40px;
  animation-duration: 1.3s;
  animation-delay: 0.55s;
  animation-timing-function: cubic-bezier(0.65, 0, 0.2, 1);
}
.chip--5 {
  top: 2%; left: 42%; --tx: 10px; --ty: 160px;
  animation-duration: 1.05s;
  animation-delay: 0.65s;
  animation-timing-function: cubic-bezier(0.5, 0, 0.3, 1);
}

@keyframes converge {
  0% { opacity: 1; transform: translate(0, 0) scale(1); }
  70% { opacity: 0.5; }
  100% { opacity: 0; transform: translate(var(--tx), var(--ty)) scale(0.5); }
}

.link-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--charcoal);
  color: var(--beige);
  border-radius: 12px;
  padding: 26px 30px;
  width: min(340px, 84%);
  text-align: center;
  opacity: 0;
  animation: appear 0.6s ease-out both;
  animation-delay: 1.9s;
}
@keyframes appear {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.94); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.link-card__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b8b0a2;
  margin-bottom: 8px;
}
.link-card__url {
  font-size: 16px;
  font-weight: 600;
}
.link-card__url .peach { color: var(--clay); }

form.signup {
  margin-top: 40px;
  display: flex;
  gap: 10px;
  max-width: 460px;
  flex-wrap: wrap;
}

input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--charcoal);
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 8px;
  font-family: inherit;
}
input[type="email"]::placeholder { color: #a49b8c; }

button.cta {
  background: var(--charcoal);
  color: var(--beige);
  border: none;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-family: "General Sans", sans-serif;
  white-space: nowrap;
  transition: background 0.15s ease;
}
button.cta:hover { background: #302c27; }
button.cta:disabled { opacity: 0.6; cursor: default; }

.form-msg {
  margin-top: 12px;
  font-size: 14px;
  min-height: 1.4em;
}
.form-msg.ok { color: var(--clay-deep); font-weight: 600; }
.form-msg.err { color: #b3452f; }

.value-rows {
  margin-top: 76px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  display: grid;
  gap: 28px;
}
.value-row h3 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--charcoal);
}
.value-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 54ch;
}

footer {
  padding: 60px 0 40px;
  color: #a49b8c;
  font-size: 13px;
}

@media (max-width: 620px) {
  .converge { height: 210px; }
  .chip { display: none; }
  .link-card { animation-delay: 0.15s; }
  form.signup { flex-direction: column; }
  input[type="email"] { flex: 0 0 auto; width: 100%; }
  button.cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .chip { display: none; }
  .link-card {
    opacity: 1;
    animation: none;
    transform: translate(-50%, -50%);
  }
}
