/* Nettsidesjekk */
.sj-hero { padding-block: clamp(56px, 9vw, 112px) clamp(28px, 4vw, 48px); }
.sj-hero > * { max-width: 860px; }
.sj-hero h1 { font-size: clamp(36px, 4.6vw, 58px); letter-spacing: -0.035em; line-height: 1.04; }
.sj-hero .lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); margin-top: 22px; max-width: 40ch; }
.sj-form { display: flex; gap: 10px; margin-top: 34px; max-width: 640px; padding: 8px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 1.5px var(--ink); }
.sj-form input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 19px; padding: 10px 18px; outline: none; color: var(--ink); }
.sj-form input::placeholder { color: #B8A7A3; }
.sj-form:focus-within { box-shadow: 0 0 0 2.5px var(--accent); }
.sj-form .btn { border: 0; cursor: pointer; font-size: 16px; padding: 14px 26px; white-space: nowrap; font-family: inherit; }
.sj-form .btn[disabled] { opacity: .6; cursor: progress; }
.sj-note { margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.sj-err { margin-top: 14px; color: var(--accent-deep); font-weight: 500; }

.sj-wait { padding-bottom: 64px; }
.sj-prog { max-width: 640px; padding: 22px 24px; border-radius: 18px; background: var(--soft-2); box-shadow: 0 0 0 1px var(--line); }
.sj-wait-h { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--muted); margin: 0 0 12px; }
.sj-wait-h b { color: var(--ink); font-weight: 600; }
.sj-wait-h span { font-variant-numeric: tabular-nums; }
.sj-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.sj-bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--accent); transition: width 1.6s cubic-bezier(.3,.6,.4,1); }
.sj-step { min-height: 52px; margin: 14px 0 0; display: grid; gap: 2px; transition: opacity .25s ease, transform .25s ease; }
.sj-step.out { opacity: 0; transform: translateY(-6px); }
.sj-step span { font-weight: 600; font-size: 17px; }
.sj-step small { font-size: 14.5px; color: var(--muted); }
.sj-step small:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .sj-step, .sj-bar i { transition: none; } }

.sj-res { padding-bottom: clamp(56px, 8vw, 96px); }
.sj-top { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--soft-2); }
.sj-score { position: relative; width: 200px; height: 200px; display: grid; place-content: center; text-align: center; }
.sj-score svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.sj-score circle { fill: none; stroke-width: 10; }
.sj-score .trk { stroke: var(--line); }
.sj-score .val { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.1s cubic-bezier(.2,.7,.3,1), stroke .3s; }
.sj-score b { font-size: 64px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sj-score span { font-size: 14px; color: var(--muted); margin-top: 4px; }
.sj-host { font-size: 15px; color: var(--muted); margin-bottom: 6px; word-break: break-all; }
.sj-sum h2 { font-size: clamp(28px, 3.4vw, 42px); }
.sj-sum > p:not(.sj-host) { color: var(--muted); margin-top: 10px; max-width: 56ch; }
.sj-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sj-cats span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--white); font-size: 14.5px; font-weight: 600; box-shadow: 0 0 0 1px var(--line); }
.sj-cats i { width: 9px; height: 9px; border-radius: 50%; }
.g-ok { background: #1F7A4D; } .g-warn { background: #D98A12; } .g-bad { background: var(--accent-deep); }

.sj-psi { margin-top: 16px; padding: 16px 22px; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center; font-size: 15.5px; }
.sj-psi b { font-weight: 600; }
.sj-psi .m { color: var(--muted); }

.sj-cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); margin-top: clamp(36px, 5vw, 56px); align-items: start; }
.sj-cols h3 { font-size: 24px; margin-bottom: 14px; }
.sj-list { list-style: none; margin: 0; padding: 0; }
.sj-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.sj-list li::before { content: ""; grid-row: 1 / 4; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--line) center / 12px no-repeat; }
.sj-list li.bad::before { background-color: var(--accent-deep); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3l6 6M9 3L3 9' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.sj-list li.warn::before { background-color: #D98A12; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.5v4.5' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='6' cy='9.6' r='1.1' fill='%23fff'/%3E%3C/svg%3E"); }
.sj-list li.ok::before { background-color: #1F7A4D; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.2 4.7-5' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sj-list b { font-weight: 600; font-size: 17px; }
.sj-list p { color: var(--muted); font-size: 15.5px; }
.sj-list .fix { color: var(--ink); font-size: 15px; }
.sj-list .fix::before { content: "Slik fikser du det: "; font-weight: 600; }
.sj-okd { margin-top: 26px; }
.sj-okd summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 8px 0; }
.sj-okd .sj-list li { padding: 12px 0; }
.sj-okd .sj-list p { font-size: 14.5px; }

.sj-cta { position: sticky; top: 104px; padding: 28px; border-radius: 22px; background: var(--ink); color: #fff; }
.sj-cta h3 { font-size: 26px; margin-bottom: 10px; }
.sj-cta > form > p, .sj-cta > p { color: rgba(255,255,255,.75); font-size: 15.5px; }
.sj-cta > p { margin-bottom: 20px; }
.sj-cta .f { display: grid; gap: 6px; margin-bottom: 12px; font-size: 14.5px; font-weight: 500; }
.sj-cta input { font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; outline: none; }
.sj-cta input:focus { border-color: var(--accent); }
.sj-cta .hp { position: absolute; left: -9999px; }
.sj-cta .btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; font-size: 16px; padding: 15px; margin-top: 6px; }
.sj-cta .sj-legal { font-size: 13px; margin-top: 12px; text-align: center; }
.sj-cta .sj-legal a { color: #fff; }
.sj-lerr { color: #FFB3A8 !important; font-weight: 500; margin-bottom: 8px; }
.sj-ts { display: flex; justify-content: center; } .sj-ts:empty { display: none; }
.sj-thanks p { color: rgba(255,255,255,.8); } .sj-thanks a { color: #fff; }

.sj-what { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.sj-what h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 28px; }
.sj-what dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin: 0; }
.sj-what dt { font-weight: 600; font-size: 19px; margin-bottom: 6px; }
.sj-what dd { margin: 0; color: var(--muted); font-size: 15.5px; }

@media (max-width: 960px) { .sj-cols { grid-template-columns: minmax(0, 1fr); } .sj-cta { position: static; } .sj-what dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .sj-form { flex-direction: column; border-radius: 22px; padding: 8px; }
  .sj-form input { font-size: 18px; padding: 12px 14px; }
  .sj-form .btn { width: 100%; }
  .sj-top { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 28px 20px; }
  .sj-cats { justify-content: center; }
  .sj-what dl { grid-template-columns: minmax(0, 1fr); }
}
