/* Legacy-domain notice. Served standalone (not processed by Vite), so the
   few design tokens it needs are defined here, mirroring src/styles/tokens.css
   and the loose layer (src/styles/loose.css): no rules, a soft grey sheet,
   a crimson pill. Flat page: no overlay, no shadow, no animation. */

:root {
  --c-bg: #ffffff;
  --c-ink: #111111;
  --c-ink-2: #555555;
  --c-ink-3: #8c8c8c;
  --c-fill: #f3f3f1;
  --c-accent: #9b1b30;
  --c-accent-hover: #741424;
  --c-on-accent: #ffffff;
  --font-sans:
    "Inter", "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", system-ui, sans-serif;
  --font-latin: "Inter", system-ui, sans-serif;
  --gutter: 24px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.notice {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
  padding:
    max(clamp(64px, 18vh, 160px), env(safe-area-inset-top, 0px))
    0
    max(64px, env(safe-area-inset-bottom, 0px));
}

.notice-inner {
  max-width: 560px;
}

.notice-logo {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 0 28px;
  border-radius: 16px;
  background: var(--c-fill);
  object-fit: cover;
}

.notice-title {
  margin: 0;
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.625rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.notice-copy {
  margin: 16px 0 0;
  color: var(--c-ink-2);
  line-height: 1.9;
}

.notice-url {
  display: grid;
  gap: 6px;
  margin: 36px 0 0;
  padding: 20px 24px 22px;
  border-radius: 22px;
  background: var(--c-fill);
}

.notice-url-label {
  color: var(--c-ink-3);
  font-family: var(--font-latin);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.notice-url-value {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.notice-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  margin-top: 28px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--c-accent);
  color: var(--c-on-accent);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.notice-link::after {
  content: "→";
  font-family: var(--font-latin);
  font-weight: 400;
}

.notice-link:hover {
  background: var(--c-accent-hover);
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }

  .notice-url-value {
    font-size: 1.0625rem;
  }

  .notice-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .notice-link {
    transition: none;
  }
}
