/* shutdown-page/styles.css */
:root {
  color-scheme: light;
  /* Samostatná kopie základních tokenů z src/styles/theme.css. */
  --background: 35 28% 97%;
  --foreground: 24 48% 12%;
  --muted-foreground: 25 14% 34%;
  --primary: 36 92% 42%;
  --border: 25 16% 84%;
  --font-sans:
    "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.page {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  padding: 2.5rem clamp(1.25rem, 5vw, 5rem) 1.75rem;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  display: block;
}

main {
  display: grid;
  flex: 1;
  place-items: center;
  padding: clamp(3.5rem, 9vh, 7rem) 0;
}

.farewell {
  width: 100%;
  max-width: 56rem;
  text-align: center;
}

.motto {
  margin: 0 0 1.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.12;
  text-wrap: balance;
}

.thanks {
  max-width: 35rem;
  margin: 2rem auto 0;
  color: hsl(var(--muted-foreground));
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  text-wrap: pretty;
}

.closure {
  margin: 1.5rem 0 0;
}

time {
  white-space: nowrap;
}

.signature {
  margin-top: 2.5rem;
  font-size: 1rem;
}

.gold-line {
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0 auto 1.25rem;
  background: hsl(var(--primary));
}

.signature p {
  margin: 0;
}

footer {
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.5rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

footer p {
  margin: 0 0 0.25rem;
}

a {
  color: hsl(var(--foreground));
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  overflow-wrap: anywhere;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid hsl(var(--foreground));
  outline-offset: 5px;
}

.copyright {
  margin-top: 1.25rem;
  font-size: 0.875rem;
}

@media (max-width: 30rem) {
  .page {
    padding-top: 1.75rem;
  }

  main {
    padding: 3.5rem 0;
  }
}
