:root {
  --navy: #0B2A43;
  --navy-dark: #081D30;
  --navy-light: #123A5C;
  --teal: #0EA5A0;
  --teal-dim: #0C8C88;
  --teal-pale: #E6F7F6;
  --sand: #F6B94D;
  --ink: #1F2933;
  --muted: #64748b;
  --border: #E7ECEF;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: #F7FAFB;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Roboto Slab', serif; margin: 0; }

a { color: var(--teal-dim); text-decoration: none; }
a:hover { text-decoration: underline; }

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

header.site {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--teal-dim) 130%);
  color: #fff;
  padding: 40px 0 36px;
}

header.site .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

header.site .brand img { height: 36px; width: 36px; }
header.site .brand .name { font-weight: 700; font-size: 15px; }
header.site .brand .tag { font-size: 11px; color: rgba(255,255,255,0.65); margin-top: -2px; }

header.site h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
header.site p.lede { color: rgba(255,255,255,0.75); font-size: 15px; margin: 0; }

nav.updates-nav { margin-top: 20px; display: flex; gap: 18px; font-size: 13px; }
nav.updates-nav a { color: rgba(255,255,255,0.85); font-weight: 600; }
nav.updates-nav a:hover { color: #fff; }

main { padding: 44px 0 80px; }

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}

.release-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 30px;
  margin-bottom: 28px;
  box-shadow: 0 1px 2px rgba(11,42,67,0.04);
}

.release-card .date {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.release-card h2 { font-size: 22px; margin: 6px 0 10px; color: var(--navy); }
.release-card h2 a { color: inherit; }
.release-card h2 a:hover { text-decoration: none; color: var(--teal-dim); }

.release-card p.summary { color: #475569; line-height: 1.6; margin: 0 0 14px; }

.release-card a.readmore { font-weight: 600; font-size: 14px; }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-right: 6px;
  margin-bottom: 4px;
}
.tag.feature { background: var(--teal-pale); color: var(--teal-dim); }
.tag.improvement { background: #FEF3E2; color: #B8791A; }
.tag.fix { background: #FEE2E2; color: #B91C1C; }

section.changes { margin: 22px 0; }
section.changes h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 12px; }

ul.change-list { list-style: none; padding: 0; margin: 0; }
ul.change-list li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.55;
  color: #334155;
}
ul.change-list li:first-child { border-top: none; }
ul.change-list li strong { color: var(--navy); }

.back-link { display: inline-block; margin-bottom: 24px; font-size: 14px; font-weight: 600; }

.history-list { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.history-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}
.history-item:last-child { border-bottom: none; }
.history-item .title { font-weight: 600; color: var(--navy); font-size: 15px; }
.history-item .title a { color: inherit; }
.history-item .title a:hover { color: var(--teal-dim); }
.history-item .meta { font-size: 12px; color: var(--muted); white-space: nowrap; }

footer.site {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
footer.site a { color: var(--muted); text-decoration: underline; }

.feedback-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 28px;
  margin-top: 36px;
}
.feedback-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 4px; }
.feedback-card p.hint { color: var(--muted); font-size: 13px; margin: 0 0 14px; }
.feedback-card textarea {
  width: 100%;
  min-height: 90px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--ink);
  resize: vertical;
  box-sizing: border-box;
}
.feedback-card textarea:focus { outline: none; border-color: var(--teal); }
.feedback-card .feedback-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.feedback-card button {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dim) 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.feedback-card button:hover { opacity: 0.92; }
.feedback-card button:disabled { opacity: 0.5; cursor: not-allowed; }
.feedback-card .feedback-status { font-size: 13px; }
.feedback-card .feedback-status.success { color: var(--teal-dim); }
.feedback-card .feedback-status.error { color: #B91C1C; }

@media (max-width: 600px) {
  header.site h1 { font-size: 24px; }
  .release-card { padding: 22px 20px; }
  .history-item { flex-direction: column; gap: 4px; }
}
