:root {
  /* LoclareMeds – myk helsestil */
  --border: rgba(17, 17, 17, 0.18);
  --border-strong: rgba(17, 17, 17, 0.28);

  --muted: #5f6b7a;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --panel2: #f2f6fb;

  --accent: #18a9c8;
  --accent-soft: rgba(24, 169, 200, 0.16);

  --shadow-soft: 0 8px 20px rgba(17, 17, 17, 0.08);
  --radius: 16px;

  --max: 980px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111;
  background: radial-gradient(1200px 600px at 50% 0%, #ffffff 0%, var(--bg) 55%);
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  max-width: calc(var(--max) + 40px);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-title {
  font-size: 20px;
  letter-spacing: 0.2px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Pills (knapp og select) */
.pill-btn,
.pill-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.06);
}

.pill-btn {
  cursor: pointer;
  font-weight: 600;
}

.pill-btn:active {
  transform: translateY(1px);
}

.pill-select select {
  border: none;
  background: transparent;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.icon {
  opacity: 0.9;
}

/* Layout */
.page {
  padding: 28px 0 44px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-top: 22px;
}

h1 {
  margin: 0 0 8px;
  font-size: 42px;
  letter-spacing: -0.4px;
}

h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

p {
  margin: 10px 0;
  line-height: 1.55;
}

.muted {
  color: var(--muted);
}

/* Cards */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px;
}

.hero {
  padding: 22px 22px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 860px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel2);
  text-decoration: none;
  color: #111;
  font-weight: 700;
  cursor: pointer;
}

.btn:hover {
  border-color: var(--border-strong);
}

.btn:active {
  transform: translateY(1px);
}

.btn-accent {
  background: var(--accent);
  border-color: rgba(0, 0, 0, 0.05);
  color: #fff;
}

.btn-accent:hover {
  filter: brightness(0.98);
}

.btn[aria-disabled="true"] {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* Product cards */
.product-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.product-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(24, 169, 200, 0.09);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.product-actions {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 860px) {
  .product-actions {
    flex-direction: row;
    align-items: center;
  }
}

.note {
  color: var(--muted);
  font-size: 13px;
}

/* Download box (myk “highlight”) */
.download-box {
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid var(--accent-soft);
  background: rgba(24, 169, 200, 0.06);
  padding: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.tiny {
  margin: 8px 0 0;
  font-size: 13px;
}

/* Footer */
.footer {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

a {
  color: #0b6b7d;
}

a:hover {
  text-decoration: none;
}
