:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(10, 19, 38, 0.92);
  --panel-strong: #0b1428;
  --text: #f8fafc;
  --muted: #aebbd0;
  --line: rgba(148, 163, 184, 0.2);
  --line-strong: rgba(125, 211, 252, 0.38);
  --blue: #38bdf8;
  --blue-deep: #2563eb;
  --green: #34d399;
  --red: #fb7185;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(37, 99, 235, 0.25), transparent 34rem),
    radial-gradient(circle at 100% 20%, rgba(56, 189, 248, 0.14), transparent 30rem),
    var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: #bae6fd;
}

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.notice-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.notice-header {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 5vw, 62px);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.18), transparent 55%),
    rgba(4, 12, 28, 0.9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.notice-header::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 67%);
  pointer-events: none;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 24px 0 34px;
}

.brand-logo {
  width: min(240px, 62vw);
  height: auto;
}

.status-badge,
.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(14, 165, 233, 0.1);
  color: #bae6fd;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-badge {
  padding: 8px 13px;
  border-radius: 999px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.header-summary {
  max-width: 820px;
  margin: 24px 0 0;
  color: #cbd5e1;
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dbeafe;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.contents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.contents a {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: #e0f2fe;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.contents a:hover {
  border-color: var(--line-strong);
  background: rgba(56, 189, 248, 0.1);
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.notice-card {
  position: relative;
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.notice-card:hover {
  border-color: rgba(125, 211, 252, 0.3);
}

.card-wide {
  grid-column: 1 / -1;
}

.section-number {
  width: 38px;
  height: 28px;
  margin-bottom: 18px;
  border-radius: 9px;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 10px;
  color: #e0f2fe;
  font-size: 1rem;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

p:last-child,
ul:last-child {
  margin-bottom: 0;
}

ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.check-list,
.cross-list {
  display: grid;
  gap: 9px;
}

.check-list li,
.cross-list li {
  position: relative;
  padding-left: 28px;
  color: #d7e1ef;
}

.check-list li::before,
.cross-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
}

.check-list li::before {
  content: "\2713";
  color: var(--green);
}

.cross-list li::before {
  content: "\00D7";
  color: var(--red);
}

.columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
}

.warning-text {
  padding: 12px 14px;
  border-left: 3px solid var(--red);
  border-radius: 0 10px 10px 0;
  background: rgba(244, 63, 94, 0.08);
  color: #fecdd3;
  font-weight: 700;
}

.access-levels {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.access-levels div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.access-levels strong {
  color: #7dd3fc;
}

.access-levels span {
  color: #dbe5f2;
}

.small-print {
  color: #8fa0b8;
  font-size: 0.84rem;
}

.cookie-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  margin: 22px 0;
}

.cookie-grid > div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-strong);
}

.notice-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 12, 27, 0.88);
}

.notice-footer div {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.notice-footer span {
  color: var(--muted);
}

.version-label {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: #bae6fd !important;
  font-size: 0.82rem;
  font-weight: 750;
}

@media (max-width: 760px) {
  .notice-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .notice-header {
    border-radius: 20px;
  }

  .brand-row {
    align-items: flex-start;
    flex-direction: column;
    margin: 20px 0 28px;
  }

  .notice-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
  }

  .card-wide {
    grid-column: auto;
  }

  .cookie-grid,
  .columns {
    grid-template-columns: 1fr;
  }

  .notice-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .notice-footer div {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .version-label {
    margin-top: 6px;
    padding-top: 6px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 430px) {
  .notice-header,
  .notice-card {
    padding: 20px;
  }

  .contents {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .contents a {
    text-align: center;
  }

  .access-levels div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    color: #111827;
    background: #ffffff;
  }

  .notice-shell {
    width: 100%;
    padding: 0;
  }

  .notice-header,
  .notice-card,
  .notice-footer {
    color: #111827;
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: none;
    break-inside: avoid;
  }

  .notice-header::after,
  .contents,
  .back-link,
  .status-badge {
    display: none;
  }

  p,
  .check-list li,
  .cross-list li,
  .access-levels span,
  .small-print,
  .notice-footer span {
    color: #334155;
  }

  .cookie-grid > div,
  .access-levels div {
    background: #ffffff;
    border-color: #dbe2ea;
  }
}
