/* AtleaSFI – landningssida. Stil inspirerad av premissai.com: varmgrå yta, Manrope, stora lätta rubriker. */

@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url("assets/fonts/manrope-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url("assets/fonts/manrope-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url("assets/fonts/manrope-latin-600.woff2") format("woff2"); }

:root {
  --bg: #ecece7;
  --surface: #f8f8f6;
  --line: #dcdcd5;
  --ink: #0d1016;
  --muted: #68655e;
  --blue: #0e0193;
  --yellow: #f1cc30;
  --yellow-soft: #f6e9a9;
  --radius: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Logga: flagga ovanför ordbilden ---------- */
.logo { display: inline-flex; flex-direction: column; gap: 3px; text-decoration: none; }
.logo .flag { display: block; width: 0; min-width: 100%; height: 5px; }
.logo span { font-weight: 500; font-size: 19px; letter-spacing: -0.03em; line-height: 1.1; color: #000; }

/* ---------- Meny ---------- */

.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(236, 236, 231, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-links { display: flex; gap: 32px; font-size: 13px; }
.nav-links a { text-decoration: none; color: rgba(0, 0, 0, 0.75); }
.nav-links a:hover { color: #000; }
.nav-actions { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 13px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  border-radius: 6px; padding: 8px 14px;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2d33; }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: #bdbdb4; }
.btn-lg { font-size: 15px; padding: 12px 20px; border-radius: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 120px 0 0; text-align: center; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px);
}
.hero::before { width: 620px; height: 520px; left: -120px; top: 260px; background: #cfdfe3; }
.hero::after { width: 560px; height: 480px; right: -100px; top: 120px; background: #ebe1c9; }

h1 {
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 92px);
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0 auto;
  max-width: 16ch;
}
.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 560px;
  margin: 28px auto 0;
}
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px; padding: 6px 8px 6px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.pill b { font-weight: 500; background: #dfe5f3; border-radius: 6px; padding: 2px 8px; }
.hero-cta { display: flex; gap: 10px; justify-content: center; margin-top: 32px; }

/* Skärm med lärplattform + AtleaSFI-panelen */
.monitor { max-width: 980px; margin: 72px auto 0; }
.screen {
  background: #0b0b0c; border-radius: 18px 18px 0 0; padding: 14px 14px 0;
  box-shadow: 0 40px 80px -30px rgba(13, 16, 22, 0.35);
}
.browser { background: #fff; border-radius: 6px 6px 0 0; overflow: hidden; display: grid; grid-template-columns: 1fr 300px; text-align: left; height: 440px; }
.lms { padding: 32px 36px; border-right: 1px solid #e6e6e2; background: #fbfbfa; }
.lms-bar { display: flex; gap: 6px; margin-bottom: 28px; }
.lms-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dcdcd6; }
.lms small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.lms h3 { margin: 6px 0 4px; font-weight: 500; font-size: 20px; letter-spacing: -0.02em; }
.lms .meta { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.lms .essay { font-size: 15px; line-height: 1.8; background: #fff; border: 1px solid #ececea; border-radius: 10px; padding: 18px 20px; }
.lms .essay mark { background: #c9dbff; color: inherit; border-radius: 2px; }
.panel-shot { background: #f8fafc; }
.panel-shot img { width: 300px; height: 100%; object-fit: cover; object-position: top; }
.stand { width: 180px; height: 70px; margin: 0 auto; background: linear-gradient(#d9d9d4, #c7c7c1); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }

/* ---------- Sektioner ---------- */
section { padding: 140px 0; }
h2 {
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0;
}
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 16px; }
.muted { color: var(--muted); }

/* Så funkar det */
.how { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 28px; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.steps .n { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; font-size: 13px; font-weight: 500; }
.steps h3 { margin: 2px 0 4px; font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.shot-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 36px; display: flex; justify-content: center; gap: 24px; }
.shot-card img { width: 260px; border-radius: 10px; box-shadow: 0 20px 40px -24px rgba(13, 16, 22, 0.35); border: 1px solid #e5e5e0; }

/* Tre kort */
.center { text-align: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .visual { height: 240px; padding: 28px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--surface)); }
.card .text { padding: 20px 22px 24px; }
.card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 500; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: #e3e6ec; padding: 5px; border-radius: 10px; width: 100%; }
.courses span { text-align: center; font-size: 14px; font-weight: 500; padding: 9px 0; border-radius: 7px; color: #4b5563; }
.courses .on { background: #fff; color: var(--blue); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }

.fb { font-size: 13px; line-height: 1.6; background: #fff; border: 1px solid #e5e5e0; border-radius: 10px; padding: 14px 16px; width: 100%; }
.fb .label { color: var(--muted); }
.fb .old { color: #b42318; }
.fb .new { color: #067647; }
.fb .why { margin-top: 6px; color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips span { background: #fff; border: 1px solid #e5e5e0; border-radius: 999px; padding: 7px 14px; font-size: 13px; }

/* Läraren bestämmer */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.trust h2 { font-size: clamp(44px, 6vw, 76px); }
.trust .body p { font-size: 17px; margin: 0 0 18px; }
.facts { list-style: none; padding: 0; margin: 36px 0 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts b { font-weight: 500; }
.facts span { color: var(--muted); }

/* Frågor */
.faq { max-width: 720px; margin: 48px auto 0; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 500; font-size: 15px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* Avslutande uppmaning */
.final { text-align: center; padding-bottom: 160px; }
.final p { color: var(--muted); font-size: 17px; max-width: 520px; margin: 20px auto 32px; }
.placeholder { background: var(--yellow-soft); border-radius: 4px; padding: 0 4px; }

/* Sidfot */
footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
footer nav a { text-decoration: none; color: var(--muted); }
footer .fine { color: var(--muted); margin-top: 14px; }

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .browser { grid-template-columns: 1fr; }
  .lms { display: none; }
  .panel-shot { display: flex; justify-content: center; }
  .monitor { max-width: 360px; }
  .how, .trust { grid-template-columns: 1fr; gap: 48px; }
  .cards { grid-template-columns: 1fr; }
  .shot-card img { width: 46%; }
  .facts li { grid-template-columns: 1fr; gap: 2px; }
  section { padding: 96px 0; }
  .hero { padding-top: 80px; }
}

/* Tid som går till eleverna */
.time { padding-top: 100px; }
.time-lead { color: var(--muted); font-size: 18px; max-width: 620px; margin: 24px auto 0; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 56px auto 0; }
.compare .col { border-radius: var(--radius); padding: 28px 30px; border: 1px solid var(--line); }
.compare h3 { margin: 0 0 16px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.compare li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.compare .before { background: transparent; color: var(--muted); }
.compare .before li::before { content: "–"; color: #a3a097; }
.compare .after { background: var(--surface); box-shadow: 0 24px 48px -32px rgba(13, 16, 22, 0.3); }
.compare .after h3 { color: var(--blue); }
.compare .after li::before { content: "✓"; color: #067647; font-weight: 600; }
.time-note { margin-top: 36px; font-size: 16px; }
@media (max-width: 900px) {
  .compare { grid-template-columns: 1fr; }
}

/* Integritetspolicy och andra textsidor */
.legal { max-width: 720px; padding-top: 80px; padding-bottom: 120px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); max-width: none; margin: 0; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 16px 0 40px; }
.legal .intro { font-size: 18px; }
.legal h2 { font-size: 28px; letter-spacing: -0.03em; margin: 56px 0 12px; }
.legal h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 32px 0 6px; }
.legal p, .legal li { font-size: 16px; color: #2b2e34; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.legal th, .legal td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; font-size: 13px; color: var(--muted); }
.legal tr:last-child td { border-bottom: none; }
