/* SwedAcc AB — Swedish Accreditation Council */
:root {
  --navy: #003560;
  --navy-dark: #002649;
  --navy-light: #0a4a80;
  --gold: #fecc02;
  --bg: #f5f7fa;
  --line: #d6dee6;
  --text: #1d2a38;
  --muted: #52677c;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}
a { color: var(--navy-light); }
a:hover { color: var(--navy-dark); }

.topstrip {
  background: var(--navy-dark);
  color: #cdd9e6;
  font-size: .78rem;
  padding: .35rem 0;
}
.topstrip .wrap { display: flex; justify-content: space-between; align-items: center; }
.topstrip a { color: #cdd9e6; text-decoration: none; }
.topstrip a:hover { color: #fff; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

header.site {
  background: #fff;
  border-bottom: 4px solid var(--gold);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand img { height: 52px; width: auto; display: block; }
.brand .names { line-height: 1.15; }
.brand .names b {
  font-size: 1.45rem;
  color: var(--navy);
  letter-spacing: .3px;
  font-weight: 700;
}
.brand .names span {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--muted);
}

nav.main { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
nav.main a {
  color: var(--navy);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  padding: .45rem .8rem;
  border-radius: 3px;
}
nav.main a:hover { background: #eef3f8; }
nav.main a.active { border-bottom: 3px solid var(--navy); border-radius: 0; padding-bottom: .25rem; }
.langswitch {
  font-size: .8rem;
  margin-left: .6rem;
  border-left: 1px solid var(--line);
  padding-left: .9rem;
}
.langswitch a { font-weight: 600; }
.langswitch .cur { color: var(--muted); font-weight: 400; }

.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 3.2rem 0 3.6rem;
}
.hero h1 {
  margin: 0 0 .8rem;
  font-size: 2.15rem;
  font-weight: 700;
  max-width: 21em;
  line-height: 1.2;
}
.hero p.lede { font-size: 1.13rem; color: #d7e3ef; max-width: 44em; margin: 0; }
.hero .kicker {
  text-transform: uppercase;
  letter-spacing: 2.2px;
  font-size: .75rem;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: .9rem;
}

main .wrap { padding-top: 2.4rem; padding-bottom: 3rem; }
.page-title {
  border-bottom: 3px solid var(--navy);
  padding-bottom: .6rem;
  margin-bottom: 1.6rem;
}
.page-title h1 { margin: 0; font-size: 1.9rem; color: var(--navy); }
.page-title .sub { color: var(--muted); margin: .35rem 0 0; }

.cols { display: grid; grid-template-columns: 2fr 1fr; gap: 2.2rem; }
@media (max-width: 820px) { .cols { grid-template-columns: 1fr; } }

h2 { color: var(--navy); font-size: 1.35rem; margin-top: 2rem; }
h3 { color: var(--navy); font-size: 1.08rem; margin-top: 1.5rem; }

.card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin: 1.8rem 0; }
@media (max-width: 820px) { .card-row { grid-template-columns: 1fr; } }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  padding: 1.2rem 1.25rem;
}
.card h3 { margin-top: 0; }
.card p { margin-bottom: .4rem; color: var(--muted); font-size: .95rem; }

.infobox {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.4rem;
}
.infobox h3 { margin-top: 0; font-size: .95rem; text-transform: uppercase; letter-spacing: 1px; }
.infobox p, .infobox li { font-size: .92rem; }
.infobox p:last-child { margin-bottom: 0; }

table.register {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .92rem;
  margin: 1.2rem 0 2rem;
}
table.register caption {
  text-align: left;
  color: var(--muted);
  font-size: .85rem;
  padding-bottom: .5rem;
}
table.register th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: .65rem .8rem;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .4px;
  white-space: nowrap;
}
table.register td {
  border: 1px solid var(--line);
  padding: .7rem .8rem;
  vertical-align: top;
}
table.register tbody tr:nth-child(even) { background: #f2f6fa; }
.status {
  display: inline-block;
  padding: .15rem .6rem;
  border-radius: 10px;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}
.status.valid { background: #e2f3e5; color: #166534; }
.status.suspended { background: #fdeceb; color: #9f1d1d; }
.accno { font-family: Consolas, "Courier New", monospace; font-size: .85rem; white-space: nowrap; }

.steps { counter-reset: step; margin: 1.4rem 0; padding: 0; list-style: none; }
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: .7rem;
  padding: .95rem 1.1rem .95rem 3.4rem;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: .9rem; top: .9rem;
  width: 1.7rem; height: 1.7rem;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 1.7rem;
  font-weight: 700;
  font-size: .9rem;
}
.steps b { color: var(--navy); }

form.contact {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.4rem 1.5rem;
  max-width: 620px;
}
form.contact label { display: block; font-weight: 600; font-size: .88rem; margin: .9rem 0 .3rem; color: var(--navy); }
form.contact input, form.contact textarea, form.contact select {
  width: 100%;
  padding: .55rem .65rem;
  border: 1px solid var(--line);
  font: inherit;
  border-radius: 3px;
  background: #fbfcfe;
}
form.contact textarea { min-height: 130px; resize: vertical; }
button.submit {
  margin-top: 1.1rem;
  background: var(--navy);
  color: #fff;
  border: 0;
  font: inherit;
  font-weight: 700;
  padding: .65rem 1.6rem;
  border-radius: 3px;
  cursor: pointer;
}
button.submit:hover { background: var(--navy-dark); }

.notice { background: #eef3f8; border: 1px solid var(--line); padding: .9rem 1.1rem; font-size: .9rem; margin: 1.2rem 0; }

footer.site {
  background: var(--navy-dark);
  color: #b9c8dc;
  margin-top: 3rem;
}
footer.site .wrap { padding-top: 2.2rem; padding-bottom: 2.2rem; }
footer .fcols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { footer .fcols { grid-template-columns: 1fr; } }
footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: 1.4px; margin: 0 0 .7rem; }
footer p, footer li { font-size: .85rem; margin: .3rem 0; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer a { color: #b9c8dc; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .legal {
  border-top: 1px solid #123f6b;
  margin-top: 1.8rem;
  padding-top: 1rem;
  font-size: .78rem;
  color: #8ea5bd;
}
footer .legal p { margin: .25rem 0; }
