:root {
  --ink: #17332f;
  --muted: #68746f;
  --paper: #f6f1e7;
  --surface: #fffdf8;
  --line: #d8d4c8;
  --coral: #f06449;
  --mustard: #e2aa26;
  --mint: #8ccbb8;
  --shadow: 0 18px 50px rgba(23, 51, 47, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(23, 51, 47, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 51, 47, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  align-items: end;
}

.brand-mark span {
  display: block;
  border-radius: 1px;
  background: var(--ink);
}

.brand-mark span:nth-child(1) { height: 45%; }
.brand-mark span:nth-child(2) { height: 75%; background: var(--coral); }
.brand-mark span:nth-child(3) { height: 100%; }

.today-label,
.private-note,
.count-badge,
.section-number {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.today-label {
  margin: 0;
  color: var(--muted);
}

.hero {
  padding: 78px 0 66px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 52px;
  width: 122px;
  height: 122px;
  border: 1px solid var(--mustard);
  border-radius: 50%;
  box-shadow: inset 0 0 0 28px var(--paper), inset 0 0 0 29px var(--mustard);
  opacity: 0.8;
}

.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 24px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 790px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.9rem, 9vw, 7.75rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.79;
}

h1 em {
  color: var(--coral);
  font-weight: 400;
}

.intro {
  max-width: 400px;
  margin: 30px 0 0 42%;
  color: var(--muted);
  font-size: 1.08rem;
}

.board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 88px;
}

.composer,
.updates {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
}

.composer {
  padding: 34px;
}

.updates {
  min-height: 630px;
  padding: 34px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--line);
}

.section-number {
  margin: 0 0 8px;
  color: var(--coral);
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.private-note {
  max-width: 130px;
  color: var(--muted);
  line-height: 1.4;
  text-align: right;
}

.updates-heading {
  border-color: rgba(255, 255, 255, 0.18);
}

.count-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--mint);
}

form {
  padding-top: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.name-field {
  margin-bottom: 24px;
}

label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: #fffefa;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input {
  min-height: 48px;
  padding: 10px 13px;
}

textarea {
  min-height: 108px;
  padding: 12px 13px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #98a09c;
}

input:focus,
textarea:focus {
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--mint);
}

.update-fields {
  display: grid;
  gap: 16px;
}

.field-accent label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.field-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.field-next .field-dot { background: var(--mustard); }
.field-blockers .field-dot { background: var(--coral); }

.form-message {
  min-height: 21px;
  margin: 14px 0 4px;
  color: #a33c2b;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-message.success {
  color: #317565;
}

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.button {
  min-height: 47px;
  padding: 10px 17px;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  transition: transform 130ms ease, box-shadow 130ms ease, background 130ms ease;
}

.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--mustard);
}

.button:focus-visible,
.delete-button:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 3px;
}

.button-primary {
  min-width: 174px;
  display: inline-flex;
  justify-content: space-between;
  gap: 30px;
  color: var(--surface);
  background: var(--ink);
}

.button-secondary {
  border-color: transparent;
  color: var(--muted);
  background: transparent;
}

.button-secondary:hover {
  color: var(--ink);
  box-shadow: none;
}

.updates-list {
  display: grid;
  gap: 14px;
  padding-top: 24px;
}

.update-card {
  position: relative;
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  animation: enter 260ms ease both;
}

@keyframes enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 58px;
}

.avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.update-author {
  margin: 0;
  font-weight: 800;
}

.update-time {
  display: block;
  margin-top: 1px;
  color: #a8b5b0;
  font-size: 0.75rem;
}

.delete-button {
  position: absolute;
  top: 21px;
  right: 17px;
  padding: 5px;
  border: 0;
  color: #b8c2be;
  background: transparent;
  cursor: pointer;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.delete-button:hover {
  color: #ff967f;
}

.update-body {
  display: grid;
  gap: 13px;
  margin: 19px 0 0;
}

.update-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.update-row dt {
  color: var(--mint);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.update-row:nth-child(2) dt { color: #f2c65c; }
.update-row:nth-child(3) dt { color: #ff967f; }

.update-row dd {
  margin: 0;
  color: #edf1ef;
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.update-row dd.is-empty {
  color: #84938d;
  font-style: italic;
}

.empty-state {
  min-height: 430px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.empty-orbit {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin-bottom: 23px;
  border: 1px solid rgba(140, 203, 184, 0.45);
  border-radius: 50%;
}

.empty-orbit span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 25px -10px 0 -2px var(--mustard), -21px 17px 0 -3px var(--mint);
}

.empty-state h3 {
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.empty-state p {
  margin: 0;
  color: #9caaa5;
  font-size: 0.88rem;
}

footer {
  min-height: 82px;
  display: grid;
  place-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

footer span {
  margin: 0 8px;
  color: var(--coral);
}

@media (max-width: 860px) {
  .hero::after { display: none; }

  .hero { padding: 64px 0 54px; }

  .intro { margin-left: 20%; }

  .board-layout {
    grid-template-columns: 1fr;
  }

  .updates { min-height: 520px; }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 24px, 1180px); }

  .site-header { min-height: 72px; }

  .today-label { max-width: 120px; text-align: right; }

  .hero { padding: 54px 0 45px; }

  h1 { font-size: clamp(3.25rem, 18vw, 5rem); }

  .intro { margin: 25px 0 0; }

  .composer,
  .updates { padding: 24px 20px; }

  .section-heading { flex-direction: column; }

  .private-note { max-width: none; text-align: left; }

  .updates-heading { flex-direction: row; }

  .form-actions { align-items: stretch; flex-direction: column; }

  .button { width: 100%; }

  .update-row { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
