:root {
  color-scheme: light;
  --bg: #f5f7f6;
  --surface: #ffffff;
  --ink: #172322;
  --muted: #5c6b68;
  --line: #d9e1df;
  --teal: #3a5693;
  --teal-dark: #243a70;
  --teal-soft: #eef3fb;
  --gold: #e2a93a;
  --shadow: 0 24px 70px rgba(16, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
}

a {
  color: inherit;
}

.page-shell {
  height: 100vh;
  height: 100svh;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(14px, 2vw, 24px);
  background:
    linear-gradient(135deg, rgba(58, 86, 147, 0.11), rgba(226, 169, 58, 0.08) 46%, rgba(255, 255, 255, 0) 72%),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 38%),
    var(--bg);
}

.notice-layout {
  width: min(1600px, 100%);
  height: min(680px, calc(100vh - 28px));
  height: min(680px, calc(100svh - 28px));
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: center;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(217, 225, 223, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.notice-copy {
  max-width: 860px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 11px;
  border: 1px solid rgba(58, 86, 147, 0.18);
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(2.25rem, 3vw, 3.35rem);
  line-height: 1.24;
  letter-spacing: 0;
}

.lead {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 1.32vw, 1.16rem);
  line-height: 1.48;
}

.info-box {
  margin: 20px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: var(--surface);
}

.info-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.info-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.info-box a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin: 22px 0 0;
}

.actions {
  display: flex;
  flex: 0 0 auto;
}

.primary-action {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px 0 24px;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(58, 86, 147, 0.24);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.primary-action__icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  transition: transform 160ms ease;
}

.primary-action__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--teal-dark);
  box-shadow: 0 16px 34px rgba(58, 86, 147, 0.28);
  transform: translateY(-1px);
}

.primary-action:hover .primary-action__icon,
.primary-action:focus-visible .primary-action__icon {
  transform: translateX(3px);
}

.primary-action:focus-visible {
  outline: 3px solid rgba(209, 155, 60, 0.55);
  outline-offset: 3px;
}

.support-text {
  flex: 1 1 300px;
  margin: 0;
  max-width: 430px;
  color: #697774;
  font-size: 0.86rem;
  line-height: 1.45;
}

.visual-panel {
  position: relative;
  align-self: stretch;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #e5ecea;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.visual-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 35, 34, 0) 44%, rgba(23, 35, 34, 0.12));
  pointer-events: none;
}

.visual-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (min-width: 1500px) and (min-height: 760px) {
  .page-shell {
    padding: clamp(24px, 4vh, 48px) clamp(40px, 5vw, 96px);
  }

  .notice-layout {
    height: min(720px, calc(100vh - 72px));
    height: min(720px, calc(100svh - 72px));
    gap: clamp(44px, 3.4vw, 64px);
    padding: clamp(42px, 3vw, 54px);
  }

  .lead {
    font-size: 1.08rem;
  }

  .info-box {
    margin-top: 22px;
  }

  .action-row {
    margin-top: 26px;
  }
}

@media (min-width: 861px) and (max-height: 640px) {
  .page-shell {
    padding: 10px 16px;
  }

  .notice-layout {
    height: calc(100vh - 20px);
    height: calc(100svh - 20px);
    gap: clamp(20px, 2.4vw, 34px);
    padding: clamp(18px, 2vw, 28px);
  }

  .eyebrow {
    margin-bottom: 10px;
    padding: 5px 9px;
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(2rem, 2.8vw, 3rem);
    line-height: 1.24;
  }

  .lead {
    margin-top: 12px;
    font-size: 0.96rem;
    line-height: 1.35;
  }

  .info-box {
    margin-top: 14px;
    padding: 14px 16px;
  }

  .info-box strong {
    margin-bottom: 6px;
    font-size: 0.98rem;
  }

  .info-box p {
    font-size: 0.92rem;
    line-height: 1.34;
  }

  .action-row {
    gap: 14px 18px;
    margin-top: 16px;
  }

  .primary-action {
    min-height: 44px;
    padding: 0 18px 0 20px;
    font-size: 0.95rem;
    box-shadow: 0 10px 22px rgba(58, 86, 147, 0.2);
  }

  .support-text {
    max-width: 360px;
    font-size: 0.82rem;
    line-height: 1.34;
  }
}

@media (min-width: 861px) and (max-height: 560px) {
  .notice-layout {
    gap: 24px;
    padding: 16px 24px;
  }

  .eyebrow {
    margin-bottom: 8px;
  }

  h1 {
    font-size: clamp(1.8rem, 2.4vw, 2.55rem);
    line-height: 1.24;
  }

  .lead {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.32;
  }

  .info-box {
    margin-top: 12px;
    padding: 12px 15px;
  }

  .info-box strong {
    font-size: 0.94rem;
  }

  .info-box p {
    font-size: 0.87rem;
    line-height: 1.32;
  }

  .action-row {
    margin-top: 14px;
  }

  .support-text {
    max-width: 340px;
    font-size: 0.78rem;
    line-height: 1.32;
  }
}

@media (max-width: 860px) {
  body {
    overflow: auto;
  }

  .page-shell {
    height: auto;
    min-height: auto;
    overflow: visible;
    padding: 18px;
    place-items: start center;
  }

  .notice-layout {
    height: auto;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px;
  }

  .visual-panel {
    min-height: 260px;
    order: -1;
  }

  h1 {
    font-size: clamp(2.05rem, 12vw, 3.25rem);
    line-height: 1.24;
  }

  .lead {
    margin-top: 20px;
  }

  .info-box,
  .action-row {
    margin-top: 24px;
  }

  .action-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .support-text {
    flex: 0 1 auto;
    max-width: 640px;
  }
}

@media (max-width: 520px) {
  .notice-layout {
    padding: 20px;
  }

  .primary-action {
    width: 100%;
    padding-inline: 16px;
  }

  .actions {
    width: 100%;
  }

  .visual-panel {
    min-height: 220px;
  }
}
