/* EasyISP forwarding / parked page – matches check.easyisp.no */

/* Outfit (OFL-1.1), self-hosted – latin subset covers æ ø å */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/outfit-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg-1: #121829;
  --bg-2: #1f2639;
  --bar: #10162a;
  --bar-line: #1d2436;
  --card: #f7f7f8;
  --ink: #111522;
  --text: #3b4252;
  --muted: #8a93a5;
  --rule: #e3e5ea;
  --blue: #4064e8;
  --blue-hover: #3354d4;
  --blue-light: #4aa3f5;
  --footer-text: #6b7385;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; height: 100%; }

/* ------------------------------------------------------------ parked */

body.parked {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 45%, var(--bg-1) 100%) fixed;
  -webkit-font-smoothing: antialiased;
}

.topbar {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 32px;
  background: var(--bar);
  border-bottom: 1px solid var(--bar-line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.brand-mark { width: 46px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { color: #fff; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.brand-name b { color: var(--blue-light); font-weight: 600; }
.brand-tag { margin-top: 2px; color: var(--muted); font-size: 8px; font-weight: 600; letter-spacing: .06em; }

.stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 16px;
}

.card {
  width: 100%;
  max-width: 560px;
  padding: 48px 56px 46px;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .2);
  text-align: center;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3a63e4 0%, var(--blue-light) 100%);
  box-shadow: 0 6px 16px rgba(64, 100, 232, .35);
}
.card-icon svg { width: 30px; height: 30px; }

.card h1 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.lead {
  margin: 0 auto;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.6;
}

.card hr {
  margin: 32px 0 28px;
  border: 0;
  border-top: 1px solid var(--rule);
}

.btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--blue-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(64, 100, 232, .45); outline-offset: 2px; }

.countdown {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer {
  padding: 15px 16px;
  background: var(--bar);
  color: var(--footer-text);
  font-size: 12px;
  text-align: center;
}
.footer a { color: var(--footer-text); text-decoration: none; }
.footer a:hover { color: #9aa3b5; text-decoration: underline; }
.footer .sep { margin: 0 6px; }

@media (max-width: 520px) {
  .topbar { padding: 0 16px; }
  .card { padding: 36px 24px 32px; }
  .card h1 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

/* ------------------------------------------------- HREDIR frame page */

body.frame { overflow: hidden; }
body.frame iframe {
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  border: 0;
}
