/* Rethink Solutions — minimal selvhostet CSS (ingen CDN) */

:root {
  --ink: #050e1b;
  --bg: #f1f5f9;
  --card: #fff;
  --border: rgba(226, 232, 240, 0.95);
  --muted: #475569;
  --muted-light: #94a3b8;
  --link: #0f172a;
  --decoration: #cbd5e1;
  --decoration-hover: #64748b;
  --pill-bg: #f8fafc;
  --pill-active: #fff;
}

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

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

body.rethink {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--muted);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.rethink-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

@media (min-width: 640px) {
  .rethink-wrap {
    padding: 4rem 1.5rem;
  }
}

.rethink-lang-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}

.rethink-lang {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem;
  font-size: 0.75rem;
  line-height: 1;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: var(--pill-bg);
}

.rethink-lang a,
.rethink-lang span {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  text-decoration: none;
  color: var(--muted);
  transition: background 0.15s ease;
}

.rethink-lang a:hover {
  background: rgba(255, 255, 255, 0.85);
}

.rethink-lang span[aria-current="true"] {
  pointer-events: none;
  background: var(--pill-active);
  color: var(--link);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.rethink-logo {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: min(100%, 18.75rem);
  height: auto;
}

@media (min-width: 640px) {
  .rethink-logo {
    max-width: min(100%, 22.75rem);
  }
}

.rethink-card {
  width: 100%;
  padding: 2rem;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.rethink-card--intro {
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .rethink-card--intro {
    margin-top: 3.5rem;
  }
}

.rethink-card--contact {
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .rethink-card {
    padding: 2.5rem;
  }
}

.rethink-h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

@media (min-width: 640px) {
  .rethink-h1 {
    font-size: 1.875rem;
  }
}

.rethink-lead {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted);
}

@media (min-width: 640px) {
  .rethink-lead {
    font-size: 1.25rem;
  }
}

.rethink-contact-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

.rethink-contact-block {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.625;
  color: var(--muted);
}

.rethink-contact-links {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
}

.rethink-contact-links p {
  margin: 0;
}

.rethink-contact-links p + p {
  margin-top: 0.25rem;
}

.rethink-a {
  font-weight: 500;
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--decoration);
  text-underline-offset: 2px;
}

.rethink-a:hover {
  text-decoration-color: var(--decoration-hover);
}

.rethink-footer {
  margin-top: auto;
  padding-top: 3rem;
  font-size: 0.75rem;
  line-height: 1.625;
  text-align: center;
  color: var(--muted-light);
}

@media (min-width: 640px) {
  .rethink-footer {
    padding-top: 4rem;
  }
}
