:root {
  --brand-yellow: #fdb813;
  --brand-blue: #00a4e4;
  --brand-dark-blue: #425b76;
  --brand-black: #000000;
  --background: #f5f8fc;
  --surface: #ffffff;
  --line: #dce4ed;
  --blue-tint: #edf8fd;
  --yellow-tint: #fff5d8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brand-black);
  background: var(--background);
  font-size: 16px;
  line-height: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; }
body::before {
  content: "";
  display: block;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-blue) 0 75%, var(--brand-yellow) 75% 100%);
}
header {
  max-width: 1140px;
  margin: auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
a { color: var(--brand-dark-blue); text-underline-offset: 3px; }
a:hover { color: var(--brand-black); text-decoration-color: var(--brand-blue); }
.brand { display: flex; align-items: center; gap: 26px; text-decoration: none; min-width: 0; }
.brand-logo {
  display: block;
  position: relative;
  flex-shrink: 0;
  width: 220px;
  aspect-ratio: 881 / 397;
  overflow: hidden;
}
/* Show the supplied wordmark at its visible bounds; keep the PNG unchanged. */
.brand-logo img {
  position: absolute;
  width: 116.231555%;
  max-width: none;
  height: auto;
  left: -8.172531%;
  top: -84.634761%;
}
.product-name {
  color: var(--brand-dark-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .035em;
  padding: 7px 12px;
  border-left: 3px solid var(--brand-yellow);
}
.privacy-link { font-size: 14px; font-weight: 600; flex-shrink: 0; }
main { max-width: 1050px; margin: 42px auto 70px; padding: 0 24px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .14em;
  color: var(--brand-dark-blue);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--brand-yellow); }
h1 { color: var(--brand-dark-blue); font-size: clamp(34px, 5vw, 54px); line-height: 1.06; letter-spacing: -.045em; margin: 14px 0 18px; font-weight: 650; }
h2 { color: var(--brand-dark-blue); font-size: 23px; letter-spacing: -.025em; margin: 0 0 10px; }
h3 { color: var(--brand-dark-blue); font-size: 16px; margin: 0 0 8px; }
.intro { color: var(--brand-dark-blue); max-width: 600px; margin-bottom: 32px; font-size: 17px; line-height: 1.6; }
button, .button {
  font: inherit;
  font-weight: 650;
  background: var(--brand-yellow);
  color: var(--brand-black);
  padding: 10px 16px;
  min-height: 44px;
  border: 1px solid var(--brand-yellow);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}
button.secondary { background: var(--surface); color: var(--brand-dark-blue); border-color: var(--brand-dark-blue); }
button:hover { filter: brightness(.97); }
button.secondary:hover { background: var(--blue-tint); filter: none; }
button:disabled { opacity: .5; cursor: wait; }
input, select { font: inherit; padding: 11px 12px; border: 1px solid #97a9bc; border-radius: 8px; background: var(--surface); color: inherit; max-width: 100%; min-height: 44px; }
label { font-weight: 550; }
input[type=checkbox] { accent-color: var(--brand-dark-blue); width: 18px; height: 18px; min-height: 0; padding: 0; flex-shrink: 0; }
input[type=number] { width: 100px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; margin: 18px 0; box-shadow: 0 8px 28px #425b7608; }
.banner { background: var(--blue-tint); border: 1px solid #c2e8f8; border-left: 4px solid var(--brand-blue); border-radius: 10px; padding: 17px 20px; margin: 18px 0; }
.warning { background: var(--yellow-tint); border-color: var(--brand-yellow); color: var(--brand-black); }
.error { background: #ffefeb; border-color: #efc3b5; color: #863b29; }
.muted { color: var(--brand-dark-blue); font-size: 14px; }
.small { font-size: 13px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 15px 0; }
.pill { background: var(--blue-tint); color: var(--brand-dark-blue); border: 1px solid #c2e8f8; border-radius: 99px; padding: 4px 10px; font-size: 12px; font-weight: 650; }
.pill.warn { background: var(--yellow-tint); border-color: var(--brand-yellow); color: var(--brand-black); }
.section { padding-top: 20px; margin-top: 18px; border-top: 1px solid var(--line); }
.calendar { padding: 13px 0; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.calendar:last-child { border-bottom: 0; }
.calendar span { overflow-wrap: anywhere; }
.feed { display: flex; gap: 8px; align-items: center; }
.feed input { flex: 1; min-width: 0; font-family: ui-monospace, monospace; font-size: 12px; background: var(--background); }
.login { max-width: 490px; border-top: 4px solid var(--brand-blue); }
.login form { display: grid; gap: 12px; }
.login .muted { margin-bottom: 22px; }
.statusline { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.conflict { display: block; padding: 8px 0; color: #803506; }
.privacy { border-top: 4px solid var(--brand-blue); }
.privacy p { max-width: 760px; }
footer { max-width: 1050px; margin: auto; padding: 28px 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--brand-dark-blue); }
#notice:not(:empty) { position: sticky; top: 12px; z-index: 2; border-radius: 10px; padding: 13px 17px; background: var(--brand-dark-blue); color: white; margin-bottom: 16px; }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid var(--brand-dark-blue); outline-offset: 3px; }

@media (max-width: 600px) {
  header { padding: 20px 24px; gap: 16px; }
  .brand-logo { width: 180px; }
  .product-name { display: none; }
  main { margin-top: 30px; }
  .card { padding: 18px; }
  .feed { align-items: stretch; flex-direction: column; }
  .actions > button { flex: 1; }
  .calendar { align-items: flex-start; }
  .statusline { align-items: flex-start; flex-direction: column; gap: 7px; }
}
