* { box-sizing: border-box; }
body { margin: 0; color: #fbfcf6; background: #143e48; font: 16px/1.5 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #78b9ab; outline-offset: 4px; }
header {
  position: fixed; z-index: 2; inset: 18px 0 auto;
  width: min(1440px, calc(100% - 40px)); margin: auto;
  display: flex; align-items: center; justify-content: space-between; padding: 9px 11px 9px 17px;
  background: linear-gradient(180deg, #ffffff28, #ffffff10), #303a7778;
  border: 1px solid #ffffff35; border-radius: 19px;
  box-shadow: inset 0 1px 0 #ffffff38, 0 7px 26px #081e291f;
}
.brand { display: block; }
.brand img { display: block; width: clamp(118px, 12vw, 151px); height: auto; }
 .cta {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:44px; padding:0 19px; border-radius:14px;
  color:#1b2447; background:linear-gradient(155deg,#ffffffef,#e0e7ffc4);
  border:1px solid #ffffff53; box-shadow:inset 0 1px 0 #ffffff28,0 3px 12px #121b382e;
  font:600 14px/1.2 -apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  letter-spacing:.005em; transition:background-color .2s,border-color .2s;
}
.cta:visited { color:#1b2447; }
@media(hover:hover) { .cta:hover { color:#172043; background:linear-gradient(155deg,#fff,#e6ecffeb); border-color:#fff; } }
.cta:active { background:#dce4f8; }
.cta:focus-visible { outline:2px solid #fff; outline-offset:4px; }
.hero-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:12px; }
.cta--demo, .cta--demo:visited {
  color:#fbfcff; background:#ffffff12; border-color:#ffffff65;
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  box-shadow:inset 0 1px 0 #ffffff20;
}
@media(hover:hover) { .cta--demo:hover { color:#fff; background:#ffffff26; border-color:#ffffffa0; } }
.cta--demo:active { color:#fff; background:#ffffff30; }
.actions { display:flex; align-items:center; gap:6px; }
.login {
  display:inline-flex; align-items:center; min-height:44px; padding:0 15px; border-radius:14px;
  color:#eef0ff; border:1px solid transparent;
  font:500 14px/1.2 -apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  letter-spacing:.005em; transition:background-color .2s,border-color .2s;
}
@media(hover:hover) { .login:hover { background:#ffffff17; border-color:#ffffff30; } }
.login:focus-visible { outline:2px solid #fff; outline-offset:4px; }
.actions a { white-space:nowrap; }
@media (max-width:600px) { .actions { gap:2px; } .login { padding:0 10px; } header .cta { padding:0 14px; } }
@media (max-width:380px) {
  header { padding:9px 8px; }
  .brand img { width:76px; }
  .login, header .cta { padding:0 7px; font-size:12px; }
}
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: min(900px, 100svh); padding: 118px 22px 95px; text-align: center; }
 .scene { position:absolute; z-index:-2; inset:0; background: #303a77 url(baggrunde/maanekyst-samme-retning.jpg) right bottom / cover no-repeat; }
.hero { background:#303a77; min-height:100svh; padding-bottom:125px; }
.hero::before { content:""; position:absolute; z-index:-1; inset:0; background:radial-gradient(ellipse at 50% 38%, #23294955, transparent 66%),linear-gradient(transparent 78%,#191e40ad); }
.intro { position:relative; transform:translateY(-7vh); }
.intro .cta { min-width:150px; min-height:49px; }
.footer { position:absolute; inset:auto 76px 22px 76px; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px 16px; color:#f0f0f5; font-size:12px; }
.store { display:inline-flex; align-items:center; gap:7px; padding:6px 10px; color:#e5e5ee; border:1px solid #ffffff40; border-radius:10px; background:#e3e6ff16; backdrop-filter:blur(12px); }
.store { font:500 12px/1.2 -apple-system,BlinkMacSystemFont,system-ui,sans-serif; letter-spacing:-.015em; }
.store svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; }
.company-details {
  flex:0 0 100%; display:flex; flex-wrap:wrap; justify-content:center; gap:3px 14px;
  margin:0; color:#edeaf5; font-size:11px; font-style:normal; line-height:1.5;
}
.footer a:hover { text-decoration:underline; }
.water-light { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.water-swell { animation:water-swell 4.5s ease-in-out infinite alternate; }
@keyframes water-swell { from { opacity:.45; transform:translate(-6px,1px); } to { opacity:.92; transform:translate(8px,-3px); } }
.ripple { transform-box:fill-box; transform-origin:center; animation:ripple 5.5s ease-in-out infinite alternate; }
.ripple:nth-child(2) { animation-delay:-2s; animation-duration:7s; }
.ripple:nth-child(3) { animation-delay:-3s; animation-duration:8s; }
@keyframes ripple { from { opacity:.42; transform:translateX(-3px) scaleX(.76); } to { opacity:.94; transform:translateX(5px) scaleX(1.15); } }
@media (max-width:700px) {
  .scene { background-position:right bottom; }
  .intro { transform:translateY(-10vh); }
  .footer { inset:auto 65px 20px 14px; gap:8px 12px; }
}
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.055em; line-height: .99; }
h1 { font-size: clamp(58px, 8.2vw, 110px); margin: 0 auto 23px; }
h1 em { color: #e0f2ee; }
.intro p { color: #e4eeee; max-width: 430px; margin: 0 auto 26px; }
.motion {
  position:absolute; right:22px; bottom:22px; display:grid; place-items:center;
  width:44px; height:44px; padding:0; color:#f7f3ffb8; background:transparent;
  border:0; border-radius:50%; cursor:pointer; font:500 11px/1 system-ui,sans-serif;
}
.motion::before {
  content:""; position:absolute; inset:6px; border:1px solid #fff3; border-radius:inherit;
  background:linear-gradient(#fff2,#e7ddff08); box-shadow:inset 0 1px 0 #fff2;
  backdrop-filter:blur(9px); -webkit-backdrop-filter:blur(9px); pointer-events:none;
}
.motion span { position:relative; }
.motion:hover::before { background:#fff3; }
.motion:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.hero[data-paused] :is(.meteor,.ripple,.twinkle,.pipe-smoke,.sun-glow,.water-swell) { animation-play-state:paused; }
.twinkle { position:absolute; top:24%; left:19%; width:3px; height:3px; border-radius:50%; background:#fff2cd; box-shadow:0 0 8px #fff1c7; animation:twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity:.22; } to { opacity:.85; } }
.meteor {
  position:absolute; top:var(--sky-top); left:var(--sky-left);
  width:clamp(54px,8vw,110px); height:2.5px; pointer-events:none;
  background:linear-gradient(90deg,transparent,#fff5db); opacity:0;
  animation:meteor 12s linear infinite var(--delay);
}
.meteor--left { --sky-top:22%; --sky-left:8%; --delay:0s; }
.meteor--right { --sky-top:16%; --sky-left:68%; --delay:4s; }
.meteor--middle { --sky-top:13%; --sky-left:42%; --delay:8s; }
@keyframes meteor {
  0%, 5%, 22%, 100% { opacity:0; }
  10%, 14% { opacity:1; }
  5% { transform:translate(0,0) rotate(24deg); }
  22%,100% { transform:translate(min(11vw,140px),48px) rotate(24deg); }
}
.sun-glow { transform-origin:170px 529px; animation:sun-glow 5s ease-in-out infinite alternate; }
@keyframes sun-glow {
  from { opacity:.18; transform:scale(.86); }
  to { opacity:.55; transform:scale(1.10); }
}
.pipe-smoke { transform-origin:1462px 711px; animation:pipe-smoke 5s ease-out infinite; }
@keyframes pipe-smoke {
  0% { opacity:0; transform:translate(0,0) scale(.6); }
  19% { opacity:.78; }
  40% { opacity:.6; transform:translate(-7px,-12px) scale(1.02); }
  86%, 100% { opacity:0; transform:translate(-30px,-49px) scale(1.55); }
}
@media (prefers-reduced-motion:reduce) { .meteor,.water-light,.twinkle,.motion { display:none; } }
@media (max-width: 600px) { header { width: calc(100% - 24px); top: 12px; } .hero { min-height: 100svh; } }
@media (max-width: 600px) {
  h1 { font-size: clamp(36px, 13vw, 58px); }
  .intro { transform: none; align-self: start; padding-top: clamp(0px, calc(24svh - 140px), 54px); }
  .hero { grid-template-rows: 1fr auto; padding: 94px 20px 18px; }
  .footer { position: static; padding-inline: 34px; margin-top: 100px; }
  .motion { right: 10px; bottom: 12px; }
}
@media (orientation: landscape) and (max-height: 500px) and (min-width: 601px) {
  .intro { transform: none; }
  h1 { font-size: 58px; }
}
