/* Tångklevs Autoshine – tillfällig sida. Samma färger och typsnitt som den nya webbplatsen (mallar/stil.css). */

@font-face {
  font-family: "Archivo";
  src: url("/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --svart: #101112;
  --morkgra: #202224;
  --rod: #b82025;
  --rod-mork: #961a1e;
  --ljus-text: #f2f1ed;
  --ljus-dampad: #b3b6b9;
  --typsnitt: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::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;
  display: flex;
  flex-direction: column;
  font-family: var(--typsnitt);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ljus-text);
  background: radial-gradient(120% 70% at 50% 0%, var(--morkgra) 0%, var(--svart) 70%) var(--svart);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
}
@media (min-width: 768px) {
  body { font-size: 1.125rem; }
}

main {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

p { margin: 0; }

.logga { margin: 0; width: min(420px, 100%); }
.logga img { display: block; width: 100%; height: auto; }

.streck {
  display: block;
  width: 56px;
  height: 3px;
  margin: 40px 0 32px;
  background: var(--rod);
  border-radius: 2px;
}

.rubrik {
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 800;
  font-stretch: 105%;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.ingress {
  text-wrap: balance;
  margin-top: 16px;
  color: var(--ljus-dampad);
}

.fraga { margin-top: 40px; text-wrap: balance; }

.knapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 16px;
  padding: 0 28px;
  border-radius: 6px;
  background: var(--rod);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease;
}
.knapp:hover { background: var(--rod-mork); }

.sociala {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  color: var(--ljus-dampad);
}
.sociala a {
  color: var(--ljus-text);
  font-weight: 600;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid var(--ljus-text);
  outline-offset: 3px;
  border-radius: 4px;
}

footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  color: var(--ljus-dampad);
}
footer a {
  color: var(--ljus-text);
  font-weight: 600;
  text-underline-offset: 3px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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