/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: #f5f7fa;
  color: #12304a;
  line-height: 1.5;
}

/* Layout */
.header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;          /* closer to hero text */
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  text-decoration: none;
  color: #12304a;
  font-size: 0.95rem;
}

.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px 48px;         /* removed top padding */
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.hero-text {
  max-width: 480px;
  margin-top: 4px;              /* nudges text a bit closer to logo */
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1rem;
  color: #4b6380;
  margin-bottom: 24px;
}

.about-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.95rem;
  color: #1f4b7a;
  text-decoration: none;
}

/* Buttons */
.btn {
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 500;
}

.btn-primary {
  background-color: #1f4b7a;
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: #1f4b7a;
  border: 1px solid #c0c9d6;
}

/* Card */
.hero-card {
  display: flex;
  justify-content: flex-end;
}

.card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(3, 27, 78, 0.12);
  padding: 16px 16px 14px;
  max-width: 420px;
  width: 100%;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.card-menu {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card-menu span {
  width: 16px;
  height: 2px;
  background-color: #c0c9d6;
  border-radius: 2px;
}

.card-media {
  height: 190px;
  border-radius: 12px;
  background: #dde4ef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.media-placeholder-text {
  font-size: 0.85rem;
  color: #4b6380;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.progress {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background-color: #edf1f7;
  overflow: hidden;
}

.progress-bar {
  width: 40%;
  height: 100%;
  background-color: #1f4b7a;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 160px;
  height: 160px;
  background-image: url("assets/sjoklar.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  border-radius: 0;
}

.logo-text {
  font-size: 1rem;
  font-weight: 600;
  color: #12304a;
}

/* Responsive */
@media (max-width: 800px) {
  .main {
    grid-template-columns: 1fr;
  }

  .hero-card {
    justify-content: flex-start;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
  }
}
