/* SpilleSlutt – moderne design. Fargene følger appen (petrol + korall). */
:root {
  --teal: #0f4c5c;
  --teal-2: #145374;
  --teal-deep: #0a3039;
  --coral: #ff9a76;
  --coral-d: #f27d54;
  --coral-text: #b8470f; /* korall med god kontrast på lys bakgrunn */
  --coral-soft: #fde6dc;
  --cream: #fff8f4;
  --ink: #12282f;
  --muted: #4d6168;
  --line: #e4ecee;
  --card: #ffffff;
  --radius: 24px;
  --shadow: 0 1px 2px rgba(10, 48, 57, 0.06), 0 12px 32px -12px rgba(10, 48, 57, 0.18);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 750;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
h3 {
  font-size: 1.25rem;
}
p {
  margin: 0 0 1em;
}
a {
  color: var(--teal-2);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--coral-d);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 780px;
}
.center {
  text-align: center;
}
.small {
  font-size: 0.9rem;
  opacity: 0.85;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.95rem;
}
.btn-coral {
  background: var(--coral);
  color: #3a1608;
  box-shadow: 0 8px 22px -8px rgba(242, 125, 84, 0.7);
}
.btn-coral:hover {
  background: #ffab8c;
  color: #3a1608;
}
.btn-dark {
  background: var(--teal);
  color: #fff;
}
.btn-dark:hover {
  background: var(--teal-deep);
  color: #fff;
}
.btn-outline-dark {
  border-color: var(--teal);
  color: var(--teal);
  background: transparent;
}
.btn-outline-dark:hover {
  background: rgba(15, 76, 92, 0.08);
  color: var(--teal);
}
.btn-ghost-dark {
  background: #fff;
  border-color: var(--line);
  color: var(--teal);
}
.btn-ghost-dark:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 48, 57, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 750;
  font-size: 1.15rem;
  text-decoration: none;
}
.brand:hover {
  color: #fff;
}
.brand img {
  border-radius: 9px;
}
.topnav {
  display: none;
  gap: 4px;
}
.topnav a {
  color: #d6e6ea;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 550;
  font-size: 0.97rem;
}
.topnav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
@media (min-width: 820px) {
  .topnav {
    display: flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(900px 500px at 85% 10%, rgba(255, 154, 118, 0.22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(20, 83, 116, 0.9), transparent 60%),
    linear-gradient(180deg, var(--teal) 0%, var(--teal-deep) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 80px;
  background: var(--cream);
  clip-path: ellipse(75% 100% at 50% 100%);
}
.hero-in {
  display: grid;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 120px;
  align-items: center;
}
.hero h1 {
  color: #fff;
}
.hero .lead {
  color: #cfe3ea;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffd9c9;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.55;
  max-width: 40em;
}
.lead.lead-muted {
  color: var(--muted);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin: 28px 0 22px;
}
.badges a {
  display: block;
  transition: transform 0.15s ease;
}
.badges a:hover {
  transform: translateY(-2px);
}
.badges img {
  height: 50px;
  width: auto;
}
.cta .badges,
.center .badges {
  justify-content: center;
}
.hero-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: #cfe3ea;
  font-size: 0.97rem;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-points svg {
  color: var(--coral);
}

/* Phone frames */
.phone {
  border-radius: 40px;
  padding: 7px;
  background: linear-gradient(145deg, #2a3a40, #0b1519);
  box-shadow: 0 40px 70px -24px rgba(0, 0, 0, 0.55), inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
}
.phone img {
  border-radius: 34px;
  width: 100%;
}
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 420px;
}
.phone-front {
  width: min(58vw, 290px);
  position: relative;
  z-index: 2;
  animation: float 7s ease-in-out infinite;
}
.phone-back {
  width: min(44vw, 235px);
  position: absolute;
  left: 50%;
  margin-left: -250px;
  top: 46px;
  transform: rotate(-6deg);
  opacity: 0.95;
  z-index: 1;
}
@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}
@media (max-width: 560px) {
  .phone-back {
    margin-left: -190px;
    width: 42vw;
  }
  .hero-phones {
    min-height: 0;
    padding-bottom: 10px;
  }
}
@media (min-width: 900px) {
  .hero-in {
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 80px;
  }
  .phone-back {
    margin-left: -285px;
  }
}

/* ---------- Trust strip ---------- */
.trust {
  padding: 0 0 24px;
}
.trust-in {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: -40px;
  position: relative;
  z-index: 3;
}
.trust-item {
  background: var(--card);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}
.trust-item strong {
  display: block;
  font-size: 1.6rem;
  color: var(--coral-text);
  letter-spacing: -0.02em;
}
.trust-item span {
  color: var(--muted);
  font-size: 0.95rem;
}
@media (min-width: 760px) {
  .trust-in {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 84px 0;
}
.section-tint {
  background: linear-gradient(180deg, var(--cream), #f1f6f7);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 750;
  font-size: 0.82rem;
  color: var(--coral-text);
  margin-bottom: 12px;
}
.promise {
  display: inline-block;
  background: var(--coral-soft);
  color: #7a3414;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.bento {
  display: grid;
  gap: 18px;
  margin-top: 44px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .bento {
    grid-template-columns: repeat(3, 1fr);
  }
}
.bento-card h3 {
  margin-bottom: 8px;
}
.bento-card p {
  color: var(--muted);
  margin: 0;
}
.bento-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--coral-soft);
  color: var(--coral-d);
  margin-bottom: 18px;
}
.bento-icon-coral {
  background: rgba(255, 154, 118, 0.16);
  color: var(--coral);
}

/* Showcase */
.showcase-in {
  display: grid;
  gap: 40px;
  align-items: center;
}
.showcase-phone {
  display: flex;
  justify-content: center;
}
.showcase-phone .phone {
  width: min(70vw, 300px);
}
.showcase-copy p {
  color: var(--muted);
}
.checks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 550;
}
.checks svg {
  flex: none;
  margin-top: 3px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  padding: 3px;
  width: 22px;
  height: 22px;
}
.showcase:nth-of-type(odd) {
  background: transparent;
}
@media (min-width: 900px) {
  .showcase-in {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
  .showcase.flip .showcase-phone {
    order: 2;
  }
}

/* Help banner */
.help {
  background: var(--coral);
  color: #3a1608;
  padding: 72px 0;
}
.help h2 {
  color: #2b1005;
}
.help p {
  max-width: 40em;
}
.help a {
  color: #2b1005;
}
.help .btn-dark {
  color: #fff;
}
.help .btn-outline-dark {
  color: var(--teal-deep);
}
.eyebrow-dark {
  color: #7a3414;
}
.help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
}

/* Dark privacy section */
.dark {
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #e2eef1;
}
.dark h2,
.dark h3 {
  color: #fff;
}
.dark .eyebrow {
  color: var(--coral);
}
.privacy-grid {
  display: grid;
  gap: 18px;
  margin-top: 44px;
}
@media (min-width: 900px) {
  .privacy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.card-dark p {
  color: #c4d9df;
  margin: 0;
}
.privacy-link {
  margin-top: 40px;
}

/* FAQ */
.faq {
  margin-top: 36px;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 22px;
  transition: box-shadow 0.2s;
}
.faq-item[open] {
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 28px 20px 0;
  font-weight: 650;
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--coral-d);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-item p {
  color: var(--muted);
  margin: 0 0 20px;
}

/* Final CTA */
.cta {
  background: radial-gradient(700px 400px at 50% 0%, rgba(255, 154, 118, 0.25), transparent 70%),
    linear-gradient(180deg, var(--teal), var(--teal-deep));
  color: #fff;
  padding: 88px 0;
}
.cta h2 {
  color: #fff;
}
.cta img {
  margin: 0 auto 20px;
  border-radius: 22px;
}
.cta .lead {
  margin-left: auto;
  margin-right: auto;
  color: #cfe3ea;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--teal-deep);
  color: #b5ccd3;
  padding: 56px 0 24px;
  font-size: 0.97rem;
}
.footer a {
  color: #e2eef1;
}
.footer a:hover {
  color: var(--coral);
}
.footer-in {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .footer-in {
    grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr;
  }
}
.footer-h {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: 12px;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

/* ---------- Underside (personvern, 404) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--teal), var(--teal-deep));
  color: #fff;
  padding: 72px 0 80px;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.page-hero .eyebrow {
  color: var(--coral);
}
.page-hero .lead {
  color: #d3e6eb;
}
.page-hero .lead strong {
  color: #fff;
}
.prose-section {
  padding-top: 56px;
}
.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.prose h3 {
  margin-top: 1.6em;
}
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.toc a {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.promise-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--coral-soft);
  color: #5a260c;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 16px 0 22px;
}
.promise-box svg {
  flex: none;
  color: var(--coral-d);
  margin-top: 2px;
}
.promise-box p {
  margin: 0;
}
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;
  font-size: 0.97rem;
}
th,
td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: #f1f6f7;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
tr:last-child td {
  border-bottom: 0;
}
td:first-child {
  font-weight: 650;
  white-space: nowrap;
}
pre {
  background: #0d2128;
  color: #e2eef1;
  padding: 16px 18px;
  border-radius: 14px;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 12px 0;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}
p code,
li code {
  background: #e8f0f2;
  padding: 2px 7px;
  border-radius: 6px;
}
.steps {
  padding-left: 22px;
  display: grid;
  gap: 18px;
}
.data-controls {
  margin: 20px 0 8px;
}
.data-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.data-status {
  margin: 16px 0 0;
  min-height: 1.5em;
  font-weight: 550;
}
.data-ok {
  color: #1c6b3a;
}
.data-err {
  color: #a3281a;
}
.data-info,
.data-busy {
  color: var(--muted);
}
.back {
  margin-top: 48px;
}

/* ---------- Scroll reveal (bare når JS er på) ---------- */
.reveal-on .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-on .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-on .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =====================================================
   Ekstra animasjon og parallax
   (parallax styres av site.js via CSS-egenskapene translate/rotate)
   ===================================================== */
[data-parallax] {
  will-change: translate;
}

/* Scrollindikator */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: linear-gradient(90deg, var(--coral), #ffc7b0);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* Toppmeny endrer seg ved scrolling */
.topbar {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.topbar-in {
  transition: height 0.3s ease;
}
.topbar.scrolled {
  background: rgba(10, 48, 57, 0.94);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.45);
}
.topbar.scrolled .topbar-in {
  height: 58px;
}

/* Bakgrunnsformer */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
  z-index: 0;
}
.blob-a {
  width: 520px;
  height: 520px;
  right: -140px;
  top: -120px;
  background: radial-gradient(circle at 35% 35%, rgba(255, 154, 118, 0.45), rgba(255, 154, 118, 0) 68%);
}
.blob-b {
  width: 420px;
  height: 420px;
  left: -140px;
  bottom: 40px;
  background: radial-gradient(circle at 60% 40%, rgba(60, 150, 190, 0.45), rgba(60, 150, 190, 0) 68%);
}
.blob-c {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 68%);
}
.blob-d {
  width: 520px;
  height: 520px;
  left: -160px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(255, 154, 118, 0.3), rgba(255, 154, 118, 0) 68%);
}
.hero-in,
.help-in,
.cta-in {
  position: relative;
  z-index: 1;
}
.help,
.cta {
  position: relative;
  overflow: hidden;
}

/* Flytende chips i hero */
.chip {
  position: absolute;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.5);
  animation: bob 6s ease-in-out infinite;
}
.chip strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.15;
}
.chip small {
  color: var(--muted);
  font-size: 0.82rem;
}
.chip-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--coral-soft);
  color: var(--coral-d);
}
.chip-1 {
  top: 70px;
  left: 50%;
  margin-left: 100px;
}
.chip-2 {
  bottom: 70px;
  right: 50%;
  margin-right: 110px;
  animation-delay: -3s;
}
@keyframes bob {
  50% {
    transform: translateY(-12px);
  }
}
@media (min-width: 720px) {
  .chip {
    display: flex;
  }
}

/* Mykere innfasing, med variasjon */
.reveal-on .reveal {
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 900px) {
  .reveal-on .showcase .showcase-phone.reveal {
    transform: translateX(-60px) scale(0.92);
  }
  .reveal-on .showcase.flip .showcase-phone.reveal {
    transform: translateX(60px) scale(0.92);
  }
  .reveal-on .showcase .showcase-copy.reveal {
    transform: translateX(50px);
  }
  .reveal-on .showcase.flip .showcase-copy.reveal {
    transform: translateX(-50px);
  }
  .reveal-on .showcase .reveal.in {
    transform: none;
  }
}
.reveal-on .bento-card.reveal,
.reveal-on .card-dark.reveal {
  transform: translateY(40px) scale(0.96);
}
.reveal-on .bento-card.reveal.in,
.reveal-on .card-dark.reveal.in {
  transform: none;
}

/* Hover-effekter */
.bento-card,
.card-dark,
.trust-item {
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease,
    opacity 0.8s ease;
}
.reveal-on .bento-card.reveal.in:hover,
.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 2px 4px rgba(10, 48, 57, 0.06), 0 24px 44px -16px rgba(10, 48, 57, 0.3);
  border-color: rgba(255, 154, 118, 0.6);
}
.card-dark:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 154, 118, 0.5);
}
.bento-icon {
  transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1), background 0.3s;
}
.bento-card:hover .bento-icon,
.card-dark:hover .bento-icon {
  transform: rotate(-8deg) scale(1.12);
}
.btn-coral {
  position: relative;
  overflow: hidden;
}
.btn-coral::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-coral:hover::after {
  transform: translateX(120%);
  transition: transform 0.7s ease;
}
.pill {
  animation: pill-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero h1,
.hero .lead,
.hero #last-ned,
.hero .hero-points {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero h1 {
  animation-delay: 0.1s;
}
.hero .lead {
  animation-delay: 0.2s;
}
.hero #last-ned {
  animation-delay: 0.3s;
}
.hero .hero-points {
  animation-delay: 0.4s;
}
.phone-back {
  animation: phone-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
}
@keyframes pill-in {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.94);
  }
}
@keyframes phone-in {
  from {
    opacity: 0;
    transform: translateX(60px) rotate(4deg);
  }
}
.faq-item p {
  animation: faq-open 0.35s ease both;
}
@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.promise {
  position: relative;
}
.promise::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid var(--coral);
  opacity: 0;
  animation: ring 3s ease-out infinite;
}
@keyframes ring {
  0% {
    transform: scale(0.96);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.15, 1.5);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-parallax] {
    translate: none !important;
    rotate: none !important;
  }
  .chip,
  .promise::before {
    animation: none !important;
  }
  .progress {
    display: none;
  }
}

/* Lenkeliste i hjelpebanner */
.help-links-h {
  margin: 28px 0 8px;
}
.help-links {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.help-links a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-weight: 650;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.help-links a:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* =====================================================
   Mobilmeny
   ===================================================== */
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
/* Tre streker, plassert absolutt (virker også i Safari, som ikke lar <button> være flex/grid) */
.menu-btn span {
  position: absolute;
  left: 9px;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.menu-btn span:nth-child(1) {
  top: 13px;
}
.menu-btn span:nth-child(2) {
  top: 20.5px;
}
.menu-btn span:nth-child(3) {
  top: 28px;
}
.menu-btn:hover span {
  background: var(--coral);
}
.topbar.menu-open .menu-btn span:nth-child(1) {
  top: 20.5px;
  transform: rotate(45deg);
}
.topbar.menu-open .menu-btn span:nth-child(2) {
  opacity: 0;
}
.topbar.menu-open .menu-btn span:nth-child(3) {
  top: 20.5px;
  transform: rotate(-45deg);
}

/* Smal skjerm */
@media (max-width: 819px) {
  /* Uten JavaScript: lenkene vises som en rad under logoen */
  .topbar-in {
    flex-wrap: wrap;
    height: auto;
    min-height: 66px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .topbar.scrolled .topbar-in {
    height: auto;
    min-height: 58px;
  }
  .topnav {
    display: flex;
    flex-wrap: wrap;
    order: 3;
    width: 100%;
  }

  /* Med JavaScript: hamburgermeny */
  .js .topbar-in {
    flex-wrap: nowrap;
    height: 66px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .js .topbar.scrolled .topbar-in {
    height: 58px;
  }
  .js .menu-btn {
    display: block;
  }
  .js .topnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    flex-direction: column;
    gap: 2px;
    padding: 12px 20px 22px;
    background: rgba(10, 48, 57, 0.98);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6);
    animation: menu-in 0.25s ease both;
  }
  .js .topbar.menu-open .topnav {
    display: flex;
  }
  .js .topnav a {
    font-size: 1.15rem;
    padding: 14px 14px;
    border-radius: 14px;
  }
  .topbar.menu-open {
    background: rgba(10, 48, 57, 0.98);
  }
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@media (max-width: 359px) {
  .brand span {
    display: none;
  }
}
