:root {
  --ink: #17212b;
  --navy: #173a59;
  --blue: #2f6f9f;
  --paper: #ffffff;
  --canvas: #e9edf0;
  --muted: #5f6b75;
  --line: #d9e0e5;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.example-notice {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 8px 28px rgba(23, 33, 43, .09);
}

.notice-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 94px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.viewer-brand {
  white-space: nowrap;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.viewer-brand span { color: var(--blue); }
.notice-copy strong { display: block; margin-bottom: 2px; font-size: 16px; }
.notice-copy p { max-width: 660px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.notice-actions { display: flex; gap: 10px; }

.viewer-button {
  min-height: 44px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 5px;
  background: var(--navy);
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.viewer-button.secondary { background: white; color: var(--navy); }
.viewer-button:hover { background: #245779; color: white; }
.viewer-button:focus-visible { outline: 3px solid rgba(47, 111, 159, .35); outline-offset: 2px; }

.example-canvas {
  width: min(1320px, 100%);
  margin: 28px auto 50px;
  background: white;
  box-shadow: 0 22px 60px rgba(23, 33, 43, .16);
}

.example-canvas img { display: block; width: 100%; height: auto; }

@media (max-width: 900px) {
  .notice-inner { grid-template-columns: 1fr auto; gap: 12px 18px; padding: 14px 0; }
  .viewer-brand { grid-column: 1; }
  .notice-copy { grid-column: 1 / -1; grid-row: 2; }
  .notice-actions { grid-column: 2; grid-row: 1; }
}

@media (max-width: 640px) {
  .example-notice { position: relative; }
  .notice-inner { width: min(100% - 28px, 1180px); display: block; padding: 16px 0; }
  .viewer-brand { display: block; margin-bottom: 10px; }
  .notice-copy p { font-size: 13px; }
  .notice-actions { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; }
  .viewer-button { padding-inline: 10px; text-align: center; }
  .example-canvas { margin: 0 auto; box-shadow: none; }
}
