@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy: #0a1628;
  --navy-mid: #0d1f3c;
  --navy-light: #1a3a6b;
  --blue: #0A437A;
  --text: #1a1a1a;
  --muted: #4a5568;
  --wash: #f7f9fc;
  --white: #fff;
  --shadow: 0 10px 30px rgba(10,67,122,.14);
  --radius: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.fyord {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  font-weight: 400;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.actions { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky; top: 0;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid #e8edf4;
  backdrop-filter: saturate(120%) blur(8px);
  z-index: 10;
}
.nav { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 52px; width: auto; }
.menu a {
  margin-left: 24px; text-decoration: none;
  color: #334; font-size: 15px; font-weight: 500;
  position: relative; transition: color 0.2s;
}
.menu a:hover { color: var(--blue); }

/* Hero */
.hero {
  color: var(--white);
  padding: 140px 0 120px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, #0d2a50 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(30,80,160,0.2) 0%, transparent 55%);
  pointer-events: none;
}
.hero.has-bg {
  background-image:
    linear-gradient(160deg, rgba(10,22,40,0.88) 0%, rgba(13,31,60,0.82) 100%),
    url('images/hero.jpg');
  background-size: cover;
  background-position: center;
}
.hero.inner { padding: 90px 0 80px; }
.hero .container { position: relative; z-index: 1; }
.hero-label {
  display: inline-block;
  font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700; line-height: 1.1;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  margin: 0 0 20px; color: #fff;
}
.hero p {
  color: rgba(255,255,255,0.68);
  font-size: 1.15rem; margin: 0 auto 28px;
  max-width: 680px; line-height: 1.75; font-weight: 300;
}

/* Begrepp */
.begrepp {
  background: var(--navy);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.begrepp::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(30,80,160,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.begrepp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  position: relative; z-index: 1;
}
.begrepp-item {
  padding: 48px 40px;
  border-left: 1px solid rgba(255,255,255,0.07);
}
.begrepp-item:first-child { border-left: none; }
.begrepp-num {
  font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 14px;
}
.begrepp-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px; color: #fff; margin: 0 0 12px;
}
.begrepp-item p {
  color: rgba(255,255,255,0.5);
  font-size: 15px; line-height: 1.7;
  margin: 0; font-weight: 300;
}

/* Cards */
.summary { background: var(--wash); padding: 90px 0; }
.section-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(10,22,40,0.35); margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy); margin: 0 0 48px; line-height: 1.2;
}
.card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  border: 1px solid rgba(10,67,122,0.06);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(10,67,122,.16); }
.card h3 { color: var(--navy); margin: 0 0 10px; font-size: 1.15rem; font-weight: 600; }
.card p { color: var(--muted); margin: 0; line-height: 1.65; font-size: 15px; }

/* Bok */
.bok-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy) 100%);
  padding: 100px 0; position: relative; overflow: hidden;
}
.bok-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(30,80,150,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.bok-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.bok-cover {
  background: linear-gradient(145deg, var(--navy-light), #0d2244);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px 12px 12px 4px;
  padding: 60px 40px; text-align: center;
  box-shadow: -6px 6px 0px rgba(0,0,0,0.4), 0 30px 60px rgba(0,0,0,0.5), inset 4px 0 8px rgba(0,0,0,0.3);
  position: relative;
}
.bok-spine {
  position: absolute; left: 0; top: 0; bottom: 0; width: 12px;
  background: linear-gradient(to right, #071527, var(--navy-light));
  border-radius: 4px 0 0 4px;
}
.bok-cover-author {
  font-size: 10px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin: 0 0 24px;
}
.bok-cover h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px; font-weight: 700;
  color: #fff; margin: 0 0 16px; line-height: 1.1;
}
.bok-divider { width: 40px; height: 2px; background: rgba(255,255,255,0.3); margin: 20px auto; }
.bok-cover-sub {
  font-size: 11px; color: rgba(255,255,255,0.35);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin: 0; line-height: 1.7;
}
.bok-content .section-label { color: rgba(255,255,255,0.35); }
.bok-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px; font-weight: 700;
  color: #fff; margin: 0 0 24px; line-height: 1.15;
}
.bok-content > p {
  font-size: 17px; color: rgba(255,255,255,0.62);
  line-height: 1.75; margin: 0 0 32px; font-weight: 300;
}
.bok-quote {
  border-left: 3px solid rgba(255,255,255,0.18);
  padding: 4px 0 4px 24px; margin: 0 0 36px;
}
.bok-quote p {
  font-size: 16px; font-style: italic;
  color: rgba(255,255,255,0.72);
  line-height: 1.65; margin: 0 0 10px; font-weight: 300;
}
.bok-quote footer { font-size: 13px; color: rgba(255,255,255,0.38); }

/* CTA */
.cta { background: var(--navy); color: #fff; padding: 100px 0; }
.cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0 0 16px; font-size: clamp(2rem, 3.4vw, 2.8rem);
}
.cta p { color: rgba(255,255,255,0.62); max-width: 640px; margin: 0 auto 28px; line-height: 1.7; font-weight: 300; }

/* Footer */
.site-footer { border-top: 1px solid #eee; background: #fff; }
.foot { display: flex; justify-content: space-between; align-items: center; min-height: 64px; }
.foot span { color: #999; font-size: .9rem; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none;
  font-weight: 500; border-radius: 50px;
  padding: 14px 28px; font-size: 15px;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
}
.btn-primary { background: #fff; color: var(--navy); border-color: #fff; }
.btn-primary:hover { background: transparent; color: #fff; }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-invert { background: #fff; color: var(--navy); border-color: #fff; }
.btn-invert:hover { background: transparent; color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* Responsive */
@media (max-width: 768px) {
  .nav { height: auto; padding: 14px 0; flex-wrap: wrap; gap: 12px; }
  .menu a { margin-left: 14px; }
  .bok-grid { grid-template-columns: 1fr; gap: 48px; }
  .bok-cover { max-width: 280px; margin: 0 auto; }
  .begrepp-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.07); padding: 36px 28px; }
  .begrepp-item:first-child { border-top: none; }
}
